forked from mir-one/human
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1294 lines (1230 loc) · 73.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
/******************************************************************************
* Copyright © 2016 The Waves Developers. *
* *
* See the LICENSE file at *
* the top-level directory of this distribution for the individual copyright *
* holder information and the developer policies on copyright and licensing. *
* *
* Unless otherwise agreed in a custom licensing agreement, no part of the *
* Waves software, including this file may be copied, modified, propagated *
* or distributed except according to the terms contained in the LICENSE file *
* *
* Removal or modification of this copyright notice is prohibited. *
* *
******************************************************************************/
-->
<!DOCTYPE html>
<html ng-app="app" ng-csp>
<head>
<meta charset="utf-8">
<title>HUMAN | Waves Blockchain</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/human.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
<script src="https://unpkg.com/[email protected]/Base58.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="styles.css">
<link href="img/favicon.png" type="image/x-icon" rel="shortcut icon">
</head>
<body ng-controller="homeController as home" ng-switch on="home.screen">
<!-- LOADER -->
<div ng-controller="splashController as splash" id="bg-spin" class="noSelect" ng-show="home.screen === 'splash-screen'">
<div id="logo-container-centered" class="centerIt">
<div id="logoo">
<img id="logo-spin" src="img/logo-spin.svg" />
<p id="networkCheck">Loading...</p>
</div>
</div>
</div>
<!-- LOG IN AREA -->
<div id="lockscreen" class="userBG" ng-controller="accountsController as accounts" ng-switch-when="accounts-screen" ng-cloak>
<table id="lockscreenTable">
<thead>
<div id="logoNversion">
<img src="img/topleftlogo.svg" />
<p ng-class='{testnet: isTestnet()}'>{{::home.title}} <span class="wlcversion">{{::home.version}}</span></p>
</div>
</thead>
<tbody>
<tr>
<td>
<!-- Accounts -->
<div id="accounts">
<h2 id="AccHeader">{{accounts.caption}}</h2>
<div class="wavesAccounts" ng-controller="accountListController as list" ng-show="accounts.mode === 'list'">
<p class="loginAccountDiv" ng-repeat="account in list.accounts track by $index">
<span class="loginAccount fade" tooltipster tooltip-theme="tooltipster-theme1" title="Log into this account." ng-click="list.signIn(account)"> <br/>
<b>{{::account.name}}</b> <span class="divider-1"></span> <small>{{::account.address}}</small>
</span>
<span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard title="Copy this address to the clipboard." data-clipboard-text="{{::account.address}}" ngclipboard-success="clipboardOk()"></span>
<span class="divider-1"></span>
<button class="removeAccount wButtonAlt fade" tooltipster tooltip-theme="tooltipster-theme1" title="Remove this account from the list." ng-click="list.showRemoveWarning($index)">
<span class="wButton-icon"><img src="img/wIcon_x.svg"></span>REMOVE
</button>
</p>
<button id="import_account" class="wButton fade" tooltipster tooltip-theme="tooltipster-theme1" title="Click here to import an existing account." ng-click="list.importAccount()">IMPORT ACCOUNT</button>
<span class="divider-1"></span>
<button id="create_account" class="wButton fade" tooltipster tooltip-theme="tooltipster-theme1" title="Click here to create a brand new account." ng-click="list.createAccount()">NEW ACCOUNT</button>
<br/>
<!-- Remove Account popup -->
<div id="account-remove-popup" waves-dialog on-dialog-ok="list.removeAccount()" is-error="true" ok-button-caption="REMOVE">
<h2 class="sectionHeader">REMOVE ACCOUNT - NOTICE</h2>
<p class="dialog-text">This feature completely removes the account from this device.</p>
<p class="dialog-text">The account will not be eliminated or destroyed, but instead will not be shown anymore in the Accounts List at the client startup.</p>
<p class="dialog-text">You can always re-generate your account on this device again using the Import Account feature and entering the SEED when prompted.</p>
<p class="dialog-text">Click on the REMOVE button to proceed with the account removal, or CANCEL to return to the previous screen.</p>
</div>
</div>
<!-- Seed input -->
<div id="create-seed" ng-controller="accountSeedController as vm" ng-show="accounts.mode === 'create-seed'">
<form id="account-seed-form" name="accountSeedForm" ng-submit="vm.checkSeedAndRegister(accountSeedForm)" novalidate ng-validate="vm.validationOptions">
<button id="generateRandomSeed" class="wButton fade" ng-click="vm.generateSeed()" type="button">GENERATE NEW SEED</button>
<br/><br/>
<div class="form-field">
<label for="walletSeed">WALLET SEED</label>
<br/>
<textarea id="walletSeed" rows="4" name="walletSeed" class="wInput" focus-me="accounts.mode === 'create-seed'" ng-model="vm.seed" ng-change="vm.refreshAddress()" ng-model-options="{ debounce: 750 }" ng-trim="false"></textarea>
<span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" title="Copy the seed to the clipboard." data-clipboard-target="#walletSeed" data-clipboard-message-success="Wallet seed has been successfully copied to clipboard" ></span>
<br/>
</div>
<br/>
<div class="wPop-content">
<div>ADDRESS
<br/>
<span>{{vm.displayAddress}}</span>
</div>
</div>
<button class="wButton fade" type="submit">REGISTER ACCOUNT</button>
<span class="divider-2"></span>
<button class="wButton fade" type="reset" ng-click="vm.back()">BACK</button>
<div id="seed-whitespace-popup" waves-dialog on-dialog-ok="vm.registerAccount()" closeable="false" ok-button-caption="PROCEED">
<h2 class="sectionHeader">SEED NOTICE</h2>
<p class="dialog-text">Your wallet seed contains one or more trailing whitespace characters.</p>
<p class="dialog-text">A seed with a whitespace at the end and a seed without one are different, and will result in different addresses generated.</p>
<p class="dialog-text">It is strongly recommended that you avoid trailing whitespaces in the seed. If you understand the implications of including a trailing whitespace
in your seed, press <b>PROCEED</b>. Press <b>CANCEL</b> or close the dialog box to edit your seed.<br/></p>
</div>
</form>
</div>
<div id="login-wPop-new" waves-dialog ok-button-caption="I UNDERSTAND" on-dialog-ok="" cancel-button-visible="false" closeable="false">
<h2 class="sectionHeader">NEW ACCOUNT</h2>
<div class="plate-warning">
<p class="dialog-text" style="font-weight: bold;">Treat your SEED (backup phrase) with care!</p>
<p class="dialog-text">Only SEED can provide access to your wallet.</p>
<p class="dialog-text">1. Don't put your SEED anywhere except official<br/>Waves clients (look at the site domain).</p>
<p class="dialog-text">If someone else accesses it you will lose your funds.</p>
<p class="dialog-text">2. Store your SEED safely, it is the only<br/>way to restore your wallet.</p>
</div>
</div>
<!-- store account on the current device -->
<div id="register" ng-controller="accountRegisterController as vm" ng-show="accounts.mode === 'register'">
<form id="register-form" name="registerForm" novalidate ng-submit="vm.saveAccountAndSignIn(registerForm)" ng-validate="vm.validationOptions">
<div class="wPop-content">
<label for="readonlySeed">WALLET SEED</label>
<br/>
<textarea id="readonlySeed" rows="4" class="wInput" ng-model="vm.seed" ng-model-options="{ getterSetter: true }" readonly></textarea>
<br/><br/>
<div>ADDRESS
<br/>
<span>{{accounts.displayAddress}}</span>
</div>
<br/>
<div class="form-field">
<label for="walletName">
NAME<span class="infoSpan" tooltipster tooltip-theme="tooltipster-theme1" tooltip-html title="It is possible to assign a name to your account(s)
<br/>
in order to make them more memorable, feel
<br/>
free to use the field below to do so.
<br/><br/>
<i>NOTE: This is optional, the accounts do not forcefully
<br/>
need to have assigned a name.</i>"></span>
<br/>
</label>
<input type="text" id="walletName" name="walletName" class="wInput" ng-model="vm.name" focus-me="accounts.mode === 'register'"/>
</div>
<br/>
<div class="form-field">
<label for="walletPassword">
PASSWORD<span class="infoSpan" tooltipster tooltip-theme="tooltipster-theme1" tooltip-html title="Used to encrypt your wallet seed, the password
<br/>
will be prompted at the time of login.
<br/><br/>
It is imperative that the user keeps it in a safe
<br/>
place at all times."></span>
</label>
<br/>
<input type="password" id="walletPassword" name="walletPassword" class="wInput" ng-model="vm.password"/>
</div>
<br/>
<div class="form-field">
<label for="walletPasswordConfirm">REPEAT PASSWORD</label>
<br/>
<input type="password" id="walletPasswordConfirm" name="walletPasswordConfirm" class="wInput" ng-model="vm.confirmPassword"/>
</div>
<br/>
<button class="wButton fade" type="submit">REGISTER</button>
<span class="divider-2"></span>
<button class="wButton fade" type="reset" ng-click="vm.cancel()">CANCEL</button>
</div>
</form>
</div>
<!-- log in to selected account -->
<div id="account-login" ng-controller="accountLoginController as vm" ng-show="accounts.mode === 'login'">
<form id="login-form">
<div>ACCOUNT
<br/>
<span>{{accounts.displayAddress}}</span>
</div>
<br/>
<label for="accountPassword">PASSWORD</label>
<br/>
<input type="password" id="accountPassword" class="wInput" ng-model="vm.password" focus-me="accounts.mode === 'login'"/>
<br/><br/>
<button class="wButton fade" ng-click="vm.signIn()">LOG IN</button>
<span class="divider-2"></span>
<button class="wButton fade" ng-click="vm.cancel()">CANCEL</button>
</form>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="wrapper" ng-switch-when="main-screen" ng-cloak>
<!-- shared blocks -->
<div id="feat-not-active" waves-dialog global="true" show-buttons="false" is-error="true">
<h2 class="sectionHeader">NOTICE</h2>
<p class="dialog-text">This feature is still under development and not active during the alpha release.</p>
<p class="dialog-text">Follow our social media channels to stay up to date with the latest improvements and developments.</p>
<div class="modal-media">
<a href="https://twitter.com/mirone_platform" target="_blank"><img class="modal-media-img" src="img/twitter_icon.svg" /></a>
<a href="https://t.me/mirplatform" target="_blank"><img class="modal-media-img" src="img/telegram_icon.svg" /></a>
<a href="https://vk.com/mirone_platform" target="_blank"><img id="icon-blog" class="modal-media-img" src="img/vk_icon.svg" /></a>
</div>
</div>
<!-- /shared blocks-->
<!-- HEADER -->
<header class="fFade noSelect" ng-controller="mainMenuController as menu">
<img id="topLogoH" src="img/topleftlogo_hor.svg" alt="Waves platform logo horizontal" />
<div id="logoNversion2">
<img src="img/topleftlogo2.svg" />
<p ng-class='{testnet: isTestnet()}'>{{::home.title}} <span class="wlcversion">{{::home.version}}</span></p>
</div>
<span id="version" class="centerIt">
<span>Address:</span>
<span id="wavesAccountAddress" class="clipSpan" tooltipster tooltip-theme="tooltipster-theme3" title="Copy the address to clipboard." ngclipboard data-clipboard-text="{{::menu.address}}" ngclipboard-success="clipboardOk()">{{::menu.address}}</span>
<span id="wavesAccountAddressQr" ng-click="menu.showAddressQr()">your address (QR)</span>
<span class="divider-2"></span>
<span class="inlineParagraph">Block:</span> <span id="blockheight">{{menu.blockHeight}}</span>
</span>
<div class="noDisp">
<div id="address-qr-modal" waves-dialog global="true" no-support-link="true" cancel-button-visible="false" ok-button-caption="CLOSE">
<waves-qr-code size="300" value="::menu.addressQr"></waves-qr-code>
</div>
</div>
<div id="header-Iconset">
<a ng-click="menu.showBackupDialog()">
<img class="header-Icon fade" tooltipster tooltip-theme="tooltipster-theme2" src="img/uiTB-iconset-backup.svg" alt="Backup" title="Backup"/>
</a>
<div id="header-wPop-backup" waves-dialog global="true" on-dialog-ok="menu.backup()" ok-button-caption="COPY" cancel-button-caption="CLOSE">
<h2 class="sectionHeader">ACCOUNT INFO BACKUP</h2>
<p>This area contains your account's basic information. Click the <span class="fontBold">COPY</span> button in order to copy the contents to the clipboard or <span class="fontBold">CLOSE</span> to exit.</p></br>
<form id="backupForm">
<div class="plate-warning">
<p class="dialog-text" style="font-weight: bold;">Treat your SEED (backup phrase) with care!</p>
<p class="dialog-text">Only SEED can provide access to your wallet.</p>
<p class="dialog-text">1. Don't put your SEED anywhere except official<br/>Waves clients (look at the site domain).</p>
<p class="dialog-text">If someone else accesses it you will lose your funds.</p>
<p class="dialog-text">2. Store your SEED safely, it is the only<br/>way to restore your wallet.</p>
</div>
<label for="seedBackup">SEED</label><br/>
<textarea id="seedBackup" class="wInput" rows="4" readonly ng-model="menu.seed"></textarea><br/>
<label for="encodedSeedBackup">ENCODED SEED</label><br/>
<textarea id="encodedSeedBackup" class="wInput" rows="4" readonly ng-model="menu.encodedSeed"></textarea><br/>
<label for="privateKeyBackup">PRIVATE KEY</label><br/>
<input id="privateKeyBackup" class="wInput" type="text" readonly ng-model="menu.privateKey"/><br/>
<label for="publicKeyBackup">PUBLIC KEY</label><br/>
<input id="publicKeyBackup" class="wInput" type="text" readonly ng-model="menu.publicKey"/><br/>
<label for="addressBackup">ADDRESS</label><br/>
<input id="addressBackup" class="wInput" type="text" readonly ng-model="menu.address"/>
</form>
</div>
<a ng-click="menu.showProfileDialog()">
<img class="header-Icon fade" tooltipster tooltip-theme="tooltipster-theme2" src="img/uiTB-iconset-profile.svg" alt="User profile" title="User profile"/>
</a>
<div class="noDisp" ng-controller="createAliasController as create">
<div id="create-alias-dialog" waves-dialog global="true" ok-button-caption="CREATE" on-dialog-ok="create.confirmCreateAlias(create.form)">
<div class="existing-aliases">
<h2 class="sectionHeader">YOUR ALIASES</h2>
<div ng-if="create.aliasList !== null">
<span ng-repeat="alias in create.aliasList"><span class="alias">{{alias}}</span> </span>
<span ng-if="create.aliasList.length === 0">You don't have any aliases yet</span>
</div>
<div ng-if="create.aliasList === null">
<span>Loading...</span>
</div>
</div>
<h2 class="sectionHeader">CREATE NEW ALIAS</h2>
<p>Here you can assign a symbolic name to your address</p>
<form name="create.form" novalidate ng-validate="create.validationOptions">
<table>
<tbody>
<tr>
<td width="30%">Alias</td>
<td><input class="wInput form-control" name="aliasName" type="text" placeholder="Symbolic name" ng-model="create.alias"/></td>
</tr>
<tr>
<td>Waves fee</td>
<td>{{::create.fee.formatAmount(true)}} {{::create.fee.currency.displayName}}</td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="create-alias-confirmation" waves-dialog global="true" ok-button-caption="CONFIRM" ok-button-enabled="!create.broadcast.pending" on-dialog-ok="create.broadcastTransaction()">
<div class="dialog-confirmation">
<p class="dialog-text">You are going to create a new alias <span class="confirmation-value">{{create.alias}}</span>
for your current address.
</p>
<p class="dialog-text">Press <span class="fontBold"> CONFIRM </span>to execute or <span class="fontBold"> CANCEL </span> to discard this operation.</p>
</div>
</div>
</div>
<a ng-click="home.logout()">
<img class="header-Icon fade" tooltipster tooltip-theme="tooltipster-theme2" src="img/uiTB-iconset-logout.svg" alt="Log out" title="Log out" />
</a>
</div>
<waves-support-link class="in-header light"></waves-support-link>
</header>
<!-- / HEADER -->
<div id="navigationContainer" ng-controller="navigationController as nav">
<!-- APPLICATION TAB SELECTORS -->
<section id="tabs" class="fFade noSelect">
<div id="tabs-Iconset" class="centerIt">
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="wallet"
caption="'Wallet tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Wallet</u></center><br/>Area containing the main wallets."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="portfolio"
caption="'Portfolio tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Portfolio</u></center><br/>Display all your assets, both digital and physical,<br/>as well as allowing transfers."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="exchange"
caption="'Exchange tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Waves Decentralized Exchange</u></center><br/>Access to Waves markets where you can<br/>conveniently buy, sell and trade tokens."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="leasing"
caption="'Waves leasing tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Leasing</u></center><br/>Lease your Waves<br/>to another wallet."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="history"
caption="'History tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>History</u></center><br/>Access all your transaction records."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="tokens"
caption="'Tokens Creation tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Tokens Creation tab</u></center><br/>Area in which assets can be created."></span>
<span waves-tab
on-select="nav.changeTab(pageId)"
current-page-id="nav.currentTab"
page-id="community"
caption="'Community tab'"
tooltipster
tooltip-html
tooltip-theme="tooltipster-theme3"
tooltip-title="<center><u>Community tab</u></center><br/>Resources to learn more about Digital Economy project as <br/>wall address: 3PEPpJoJNqrU6T6AAdXB3yMzUseEaUPniCw."></span>
</div>
</section>
<section id="mainBody" class="wScroll">
<!-- BODY CONTENT -->
<section id="mBBody" class="fFade" ng-switch on="nav.currentTab">
<!-- WALLET TAB -->
<div id="mBB-wallet" class="mBB-content" ng-switch-when="wallet" ng-controller="walletListController as walletList">
<div class="noDisp" ng-controller="walletSendController as send">
<div id="wB-butSend-WAV" waves-dialog ok-button-caption="SUBMIT" cancel-button-visible="false" on-dialog-ok="send.submitTransfer(send.form)">
<form id="send-waves-form" name="send.form" class="paymentForm" novalidate ng-validate="send.validationOptions">
<h2 class="sectionHeader">SEND PAYMENT: {{send.currency}}</h2>
<table>
<div class="balanceAmt">
<div ng-if="!send.feeAndTransferAssetsAreTheSame"><p>Asset balance: </p><span class="balancewaves">{{send.assetBalance | moneyLong:true}}</span><br/></div>
<p>Waves balance: </p><span class="balancewaves">{{send.feeAssetBalance | moneyLong:true}}</span>
</div>
<thead>
<tr>
<th>DESCRIPTION</th>
<th>INPUT</th>
</tr>
</thead>
<tbody>
<tr>
<td>Recipient's Address</td>
<td>
<div class="form-field">
<input class="wInput form-control" name="sendRecipient" type="text" placeholder="Recipient" ng-model="send.recipient" />
</div>
</td>
</tr>
<tr>
<td>Amount</td>
<td>
<div class="form-field">
<input class="wInput form-control" name="sendAmount" type="text" placeholder="Amount" ng-model="send.amount" decimal-input-restrictor />
</div>
</td>
</tr>
<tr>
<td>Attachment</td>
<td>
<div class="form-field">
<textarea rows="2" class="wInput form-control" name="sendAttachment" ng-model="send.attachment"></textarea>
</div>
</td>
</tr>
<tr>
<td>Fee</td>
<td>
<md-autocomplete md-input-name="sendFee" md-selected-item="send.autocomplete.selectedFee" md-search-text="send.autocomplete.searchText"
md-items="item in send.autocomplete.querySearch(send.autocomplete.searchText)"
md-item-text="item.amount.toString()" md-min-length="0" md-require-match="" md-no-cache="true"
md-menu-class="popup-autocomplete" class="fee-autocomplete">
<md-item-template>
<span md-highlight-text="send.autocomplete.searchText">{{item.displayText}}</span>
</md-item-template>
</md-autocomplete>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="send-payment-confirmation" waves-dialog ok-button-caption="CONFIRM" ok-button-enabled="!send.broadcast.pending" on-dialog-ok="send.broadcastTransaction()">
<div class="dialog-confirmation">
<p class="dialog-text">You are sending <span class="confirmation-value">{{send.confirm.amount | moneyLong:true}}</span> with
<span class="confirmation-value">{{send.confirm.fee | moneyLong:true}}</span> fee to the address<br/>
<span class="confirmation-value">{{send.confirm.recipient}}</span>
</p>
<p class="dialog-text">Please <span class="fontBold"> CONFIRM </span>to execute or <span class="fontBold"> CANCEL </span> to discard.</p>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletWithdrawController as withdraw" data-type="crypto">
<div id="withdraw-crypto-dialog" waves-dialog ok-button-caption="WITHDRAW" on-dialog-ok="withdraw.confirmWithdraw(withdraw.assetForm)">
<h2 class="sectionHeader">WITHDRAW: {{withdraw.sourceCurrency}}</h2>
<p class="dialog-text">The minimum withdrawal amount is <span class="fontBold">{{withdraw.minimumPayment | moneyLong:true}}</span></p>
<p class="dialog-text" ng-if="withdraw.isEthereum">Do not withdraw ETH to smart contract addresses!<br/>Your transaction may fail if their execution require additional fees.</p>
<form id="withdraw-asset-form" name="withdraw.assetForm" novalidate ng-validate="withdraw.validationOptions">
<table class="form-table">
<div class="balanceAmt">
<div><p>Asset balance: </p><span class="balancewaves">{{withdraw.assetBalance | moneyLong:true}}</span><br/></div>
</div>
<tbody>
<tr>
<td width="30%">{{withdraw.sourceCurrency}} address</td>
<td><input class="wInput form-control" name="withdrawAddress" type="text" placeholder="{{withdraw.sourceCurrency}} address" ng-model="withdraw.recipient"/></td>
</tr>
<tr>
<td>Amount</td>
<td><input class="wInput form-control" name="withdrawAmount" type="text" placeholder="Withdraw amount" ng-model="withdraw.amount" ng-change="withdraw.refreshTotal()" decimal-input-restrictor/></td>
</tr>
<tr>
<td>Gateway fee</td>
<td><input disabled class="wInput form-control" name="gatewayFee" type="text" placeholder="Gateway fee" ng-model="withdraw.feeOut" decimal-input-restrictor/></td>
</tr>
<tr>
<td>Total</td>
<td><input class="wInput form-control" name="withdrawTotal" type="text" placeholder="Total amount" ng-model="withdraw.total" ng-change="withdraw.refreshAmount()" decimal-input-restrictor/></td>
</tr>
<tr>
<td class="padded">Waves fee</td>
<td class="padded">
<md-autocomplete md-input-name="withdrawFee" md-selected-item="withdraw.autocomplete.selectedFee" md-search-text="withdraw.autocomplete.searchText"
md-items="item in withdraw.autocomplete.querySearch(withdraw.autocomplete.searchText)"
md-item-text="item.amount.toString()" md-min-length="0" md-require-match="" md-no-cache="true"
md-menu-class="popup-autocomplete" class="fee-autocomplete">
<md-item-template>
<span md-highlight-text="withdraw.autocomplete.searchText">{{item.displayText}}</span>
</md-item-template>
</md-autocomplete>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="withdraw-confirmation" waves-dialog ok-button-caption="CONFIRM" ok-button-enabled="!withdraw.broadcast.pending" on-dialog-ok="withdraw.broadcastTransaction()">
<div class="dialog-confirmation">
<p class="dialog-text">You are sending <span class="confirmation-value">{{withdraw.confirm.amount | moneyLong:true}}</span> with
<span class="confirmation-value">{{withdraw.confirm.fee | moneyLong:true}}</span> fee to the Waves gateway address <br/>
<span class="confirmation-value">{{withdraw.confirm.gatewayAddress}}</span>.
</p>
<p class="dialog-text">The gateway will transfer these funds to your {{withdraw.sourceCurrency}} address: <span class="confirmation-value">{{withdraw.confirm.recipient}}</span>.</p>
<p class="dialog-text">Press <span class="fontBold"> CONFIRM </span>to execute or <span class="fontBold"> CANCEL </span> to discard this operation.</p>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletWithdrawController as withdraw" data-type="fiat">
<div id="withdraw-fiat-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">WITHDRAW: {{withdraw.sourceCurrency}}</h2>
<p class="dialog-text textCenter">
If you've been verified and deposited {{withdraw.sourceCurrency}}<br/>
you can withdraw {{withdraw.sourceCurrency}} back to your bank account<br/>
<br/>
To do so please make a SEND transaction to the<br/>
Waves address <span class="email"
title="Copy this address to the clipboard"
tooltipster
tooltip-theme="tooltipster-theme1"
ngclipboard
data-clipboard-text="3P7qtv5Z7AMhwyvf5sM6nLuWWypyjVKb7Us"
ngclipboard-success="clipboardOk()">3P7qtv5Z7AMhwyvf5sM6nLuWWypyjVKb7Us</span><br/>
<br/>
Fees are 1% from the amount transferred<br/>
<br/>
The minimum amount is 500 {{withdraw.sourceCurrency}}<br/>
<br/>
<a href="https://coinomat.com/faq.php" target="_blank">More information about withdrawals</a>
</p>
<br/>
<p class="dialog-text textCenter">
If you have any questions,<br/>
please just send an email to<br/>
<span class="email"
title="Copy this address to the clipboard"
tooltipster
tooltip-theme="tooltipster-theme1"
ngclipboard
data-clipboard-text="{{withdraw.gatewayEmail}}"
ngclipboard-success="clipboardOk()">{{withdraw.gatewayEmail}}</span>
</p>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="BTC">
<div id="deposit-btc-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: BTC</h2>
<p class="dialog-text textCenter">
<img src="img/visa_mastercard_116x35.gif" width="116" height="35"><span class="divider-2"></span>
<button class="wButton wButton-dialog" ng-click="walletList.depositFromCard(deposit.assetBalance.currency)">
Buy BTC from your credit card
</button>
</p>
<p class="dialog-text">To deposit BTC to your Waves account, please send BTC to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{::deposit.btc.minimumAmount}} BTC</span>.</p>
<table class="wavesTable bitcoin-requisites">
<tbody>
<tr>
<td><b>{{deposit.btc.bitcoinAddress}}</b></td>
</tr>
</tbody>
</table>
<p class="dialog-text">Enter this address into your Bitcoin client or wallet. Once the transaction is confirmed, <br/>
the gateway will process the transfer of BTC to a token in your Waves account.</p>
<p class="dialog-text">Please note that the gateway doesn't apply any fees for this operation.</p>
<p class="dialog-text">You can scan this QR-code in order to copy the address.<br/>
Amount is optional but it will be added to the QR-code if present.</p>
<div class="textCenter">
<input class="wInput small" type="text" placeholder="Amount" ng-model="deposit.btc.bitcoinAmount" ng-change="deposit.refreshBTCUri()" decimal-input-restrictor />
<br/>
<br/>
<a ng-href="{{deposit.btc.bitcoinUri}}">
<waves-qr-code class="center" size="180" value="deposit.btc.bitcoinUri"></waves-qr-code>
</a>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="ETH">
<div id="deposit-eth-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: ETH</h2>
<div class="plate-warning">
<p><b>Do not deposit ETH from smart contracts!</b></p>
<p>Check if your wallet or exchange uses smart-contracts to withdraw ETH.<br/>
We do not accept such transactions and can’t refund them.<br/>
You will lose that money.</p>
</div>
<p class="dialog-text">To deposit ETH to your Waves account, please send ETH to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{deposit.eth.minimumAmount}} ETH</span>.</p>
<p class="dialog-text">Please do not deposit ERC20 tokens! Only Ethereum is allowed.</p>
<table class="wavesTable bitcoin-requisites">
<tbody>
<tr>
<td><b>{{deposit.eth.ethereumAddress}}</b></td>
</tr>
</tbody>
</table>
<p class="dialog-text">Enter this address into your Ethereum client or wallet. Once the transaction is confirmed, <br/>
the gateway will process the transfer of ETH to a token in your Waves account.</p>
<p class="dialog-text">Please note that the gateway doesn't apply any fees for this operation.</p>
<div class="textCenter">
<waves-qr-code class="center" size="180" value="deposit.eth.ethereumAddress"></waves-qr-code>
</div>
</div>
</div>
<div class="noDisp">
<div id="digilira-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">TURKISH LIRA</h2>
<p class="dialog-text">Please visit <a href="https://www.digilira.com/" target="_blank">Digilira</a> gateway.</p>
<p class="dialog-text">You can only use Turkish Lira gateway if you have Turkish citizenship.</p>
</div>
</div>
<div class="noDisp">
<div id="mir-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">HUMAN</h2>
<p class="dialog-text">Please visit <a href="https://mir.one" target="_blank">Mir</a> gateway.</p>
<p class="dialog-text">You can only use Mir gateway if you have Russia citizenship.</p>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="LTC">
<div id="deposit-ltc-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: LTC</h2>
<p class="dialog-text">To deposit LTC to your Waves account, please send LTC to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{deposit.ltc.minimumAmount}} LTC</span>.</p>
<table class="wavesTable bitcoin-requisites">
<tbody>
<tr>
<td><b>{{deposit.ltc.litecoinAddress}}</b></td>
</tr>
</tbody>
</table>
<p class="dialog-text">Enter this address into your Litecoin client or wallet. Once the transaction is confirmed, <br/>
the gateway will process the transfer of LTC to a token in your Waves account.</p>
<p class="dialog-text">Please note that the gateway doesn't apply any fees for this operation.</p>
<div class="textCenter">
<waves-qr-code class="center" size="180" value="deposit.ltc.litecoinAddress"></waves-qr-code>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="ZEC">
<div id="deposit-zec-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: ZEC</h2>
<p class="dialog-text">To deposit Zcash to your Waves account, please send Zcash to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{deposit.zec.minimumAmount}} ZEC</span>.</p>
<table class="wavesTable bitcoin-requisites">
<tbody>
<tr>
<td><b>{{deposit.zec.zcashAddress}}</b></td>
</tr>
</tbody>
</table>
<p class="dialog-text">Enter this address into your Zcash client or wallet. Once the transaction is confirmed, <br/>
the gateway will process the transfer of Zcash to a token in your Waves account.</p>
<p class="dialog-text">Please note that the gateway doesn't apply any fees for this operation.</p>
<div class="textCenter">
<waves-qr-code class="center" size="180" value="deposit.zec.zcashAddress"></waves-qr-code>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="BCH">
<div id="deposit-bch-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: BCH</h2>
<p class="dialog-text">To deposit BCH to your Waves account, please send BCH to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{deposit.zec.minimumAmount}} BCH</span>.</p>
<table class="wavesTable bitcoin-requisites">
<tbody>
<tr>
<td><b>{{deposit.bch.cashAddress}}</b></td>
</tr>
</tbody>
</table>
<p class="dialog-text">Enter this address into your BCH client or wallet. Once the transaction is confirmed, <br/>
the gateway will process the transfer of BCH to a token in your Waves account.</p>
<p class="dialog-text">Please note that the gateway doesn't apply any fees for this operation.</p>
<div class="textCenter">
<waves-qr-code class="center" size="180" value="deposit.bch.cashAddress"></waves-qr-code>
</div>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="EUR">
<div id="deposit-eur-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: EUR</h2>
<p class="dialog-text textCenter">VERIFICATION</p>
<p class="dialog-text textCenter">
In order to deposit Euros directly from your bank<br/>
account through SEPA transfer you MUST get verified<br/>
by our partner <a href="https://www.idnow.eu/" target="_blank">IDNow.eu</a>
</p>
<p class="dialog-text textCenter">
<a href="https://wavesplatform.userecho.com/topics/1303-buying-eurotoken-with-sepa-transfer/" target="_blank">Read more about SEPA transfers</a>
</p>
<p class="dialog-text textCenter">
<a href="https://wavesplatform.userecho.com/topics/1304-list-of-accepted-countries-and-documents-for-verification/" target="_blank">List of eligible countries and IDs</a>
</p>
<p class="dialog-text textCenter">
In order to get verified follow the link:<br/>
<a href="{{deposit.fiat.verificationLink}}" target="_blank">{{deposit.fiat.verificationLink}}</a>
</p>
<p class="dialog-text textCenter">We don't accept international wire transfers from US Citizens or from USA Banks</p>
<br/>
<p class="dialog-text textCenter">
In case the link doesn't work for you,<br/>
please just send an email to<br/>
<span class="email"
title="Copy this address to the clipboard"
tooltipster
tooltip-theme="tooltipster-theme1"
ngclipboard
data-clipboard-text="{{deposit.fiat.email}}"
ngclipboard-success="clipboardOk()">{{deposit.fiat.email}}</span>
<br/>
with your Waves wallet address as the subject
</p>
</div>
</div>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="USD">
<div id="deposit-usd-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: USD</h2>
<p class="dialog-text textCenter">VERIFICATION</p>
<p class="dialog-text textCenter">
In order to deposit USD directly from your bank<br/>
account through wire transfer you MUST get verified<br/>
by our partner <a href="https://www.idnow.eu/" target="_blank">IDNow.eu</a>
</p>
<p class="dialog-text textCenter">
<a href="https://wavesplatform.userecho.com/topics/1304-list-of-accepted-countries-and-documents-for-verification/" target="_blank">List of eligible countries and IDs</a>
</p>
<p class="dialog-text textCenter">
In order to get verified follow the link:<br/>
<a href="{{deposit.fiat.verificationLink}}" target="_blank">{{deposit.fiat.verificationLink}}</a>
</p>
<p class="dialog-text textCenter">We don't accept international wire transfers from US Citizens or from USA Banks</p>
<br/>
<p class="dialog-text textCenter">
In case the link doesn't work for you,<br/>
please just send an email to<br/>
<span class="email"
title="Copy this address to the clipboard"
tooltipster
tooltip-theme="tooltipster-theme1"
ngclipboard
data-clipboard-text="{{deposit.fiat.email}}"
ngclipboard-success="clipboardOk()">{{deposit.fiat.email}}</span>
<br/>
with your Waves wallet address as the subject
</p>
</div>
</div>
<div class="noDisp" ng-controller="cardDepositController as card">
<div id="card-deposit-dialog" waves-dialog ok-button-caption="BUY" on-dialog-ok="card.redirectToMerchant(card.form)">
<h2 class="sectionHeader">DEPOSIT FROM CARD: <b>{{card.crypto.shortName}}</b></h2>
<p class="textCenter">Please note: the minimum amount you can pay is <b>{{card.limits.min | number:0}} {{card.payCurrency.displayName}}</b>,<br/>
the maximum is <b>{{card.limits.max | number:0}} {{card.payCurrency.displayName}}</b></p>
<form id="depositCalculatorForm" name="card.form" novalidate>
<div layout="row">
<md-input-container>
<label>Amount you pay</label>
<input name="payAmount" ng-model="card.payAmount" type="text" ng-change="card.updateReceiveAmount()" ng-model-options="{ debounce: 250 }" decimal-input-restrictor/>
</md-input-container>
<md-input-container>
<label>Currency</label>
<md-select ng-model="card.payCurrency" ng-change="card.updateLimitsAndReceiveAmount()" width="2">
<md-optgroup label="Your card currency">
<md-option ng-value="currency" ng-repeat="currency in card.currencies">{{currency.displayName}}</md-option>
</md-optgroup>
</md-select>
</md-input-container>
</div>
<div layout="row">
<md-input-container>
<label>Approximate amount you get</label>
<input name="getAmount" ng-model="card.getAmount" ng-disabled="true" type="text"/>
</md-input-container>
</div>
</form>
<div class="textCenter">
<p>For making a payment from your card you will be redirected <br/> to the merchant's website.</p>
</div>
</div>
</div>
<div class="flex-container">
<wallet-box class="walletBox"
ng-repeat="w in walletList.wallets"
balance="w.balance"
on-send="walletList.send(w)"
on-withdraw="walletList.withdraw(w)"
on-deposit="walletList.deposit(w)"></wallet-box>
</div>
<waves-transaction-history heading="LATEST TRANSACTIONS"
transactions="walletList.transactions"
limit-to="10"></waves-transaction-history>
</div>
<!-- / WALLET TAB -->
<!-- PORTFOLIO TAB -->
<div id="mBB-portfolio" class="mBB-content wScroll" ng-switch-when="portfolio">
<div ng-controller="assetListController as assetList">
<h2 class="sectionHeader">PORTFOLIO</h2>
<table class="wavesTable wScroll">
<thead>
<tr>
<td>ASSET NAME</td>
<td>ISSUER</td>
<td>RE-ISSUABLE</td>
<td>BALANCE</td>
<td>OPTIONS</td>
</tr>
</thead>
<tbody>
<tr ng-show="assetList.noData">
<td colspan="5">You do not own/have not created any assets.</td>
</tr>
<tr ng-show="!assetList.noData" ng-repeat="tx in assetList.assets | antiSpam:'id' | asset track by tx.id">
<td>
<span>{{tx.name}}</span>
</td>
<td>{{tx.formatted.sender}}</td>
<td>{{tx.reissuable}}</td>
<td>{{tx.balance | moneyShort}}</td>
<td>
<button class="wButton wButton-neg fade" ng-click="assetList.assetTransfer(tx.id)">TRANSFER</button><span class="divider-2"></span>
<button class="wButton wButton-neg fade" ng-disabled="!tx.formatted.canReissue" ng-click="assetList.assetReissue(tx.id)">REISSUE</button><span class="divider-2"></span>
<button class="wButton wButton-neg fade" ng-click="assetList.assetDetails(tx.id)">DETAILS</button><span class="divider-2"></span>
<!-- TODO: remove MASS PAY feature or re-engineer it using a centralized service
<button class="wButton wButton-neg fade" ng-click="assetList.assetMassPay(tx.id)">MASS PAY</button>
-->
</td>
</tr>
</tbody>
</table>
<div class="noDisp" ng-controller="assetDetailsController as details">
<div id="asset-details-dialog" waves-dialog cancel-button-visible="false">
<h2 class="sectionHeader">ASSET DETAILS</h2>
<table class="wavesTable">
<thead>
<tr>
<td>FIELD</td>
<td>DESCRIPTION</td>
</tr>
</thead>
<tbody>
<tr>
<td>Issuer:</td>
<td ng-if="!details.isSenderCopiable">{{details.sender}}</td>
<td ng-if="details.isSenderCopiable"><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{details.sender}}" title="Copy this address to the clipboard." ngclipboard-success="clipboardOk()">{{details.sender}}</span></td>
</tr>
<tr>
<td>Identifier:</td>
<td><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{details.assetId}}" title="Copy this asset id to the clipboard." ngclipboard-success="clipboardOk()">{{details.assetId}}</span></td>
</tr>
<tr>
<td>Name:</td>
<td>{{details.name}}</td>
</tr>
<tr>
<td>Details:</td>
<td>{{details.description}}</td>
</tr>
<tr>
<td>Total tokens:</td>
<td>{{details.totalTokens}}</td>
</tr>
<tr>
<td>Reissuable:</td>
<td>{{details.reissuable}}</td>
</tr>
<tr>
<td>Issue date:</td>
<td>{{details.timestamp | formatting}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="noDisp" ng-controller="assetTransferController as transfer">
<div id="asset-transfer-dialog" waves-dialog ok-button-caption="TRANSFER" on-dialog-ok="transfer.submitTransfer(transfer.assetForm)">
<form id="transfer-asset-form" name="transfer.assetForm" novalidate ng-validate="transfer.validationOptions">
<h2 class="sectionHeader">ASSET TRANSFER</h2>
<div class="balanceAmt">
<p>Asset balance: </p><span class="balancewaves">{{transfer.availableBalance | moneyLong:true}}</span><br/>
<p>Waves balance: </p><span class="balancewaves">{{transfer.feeAssetBalance | moneyLong:true}}</span>
</div>
<table class="wavesTable">
<thead>
<th>DESCRIPTION</th>
<th>INPUT</th>
</thead>
<tbody>
<tr>
<td>Recipient's Address</td>
<td>
<div class="form-field">
<input class="wInput form-control" name="assetRecipient" type="text" placeholder="Recipient" ng-model="transfer.recipient" />
</div>
</td>
</tr>
<tr>
<td>Amount</td>
<td>
<div class="form-field">
<input class="wInput form-control" name="assetAmount" type="text" placeholder="Amount" ng-model="transfer.amount" decimal-input-restrictor />
</div>
</td>
</tr>
<tr>
<td>Attachment</td>
<td>
<div class="form-field">
<textarea rows="2" class="wInput form-control" name="assetAttachment" ng-model="transfer.attachment"></textarea>
</div>
</td>
</tr>
<tr>
<td>Fee</td>
<td>
<md-autocomplete md-input-name="assetFee" md-selected-item="transfer.autocomplete.selectedFee" md-search-text="transfer.autocomplete.searchText"
md-items="item in transfer.autocomplete.querySearch(transfer.autocomplete.searchText)"
md-item-text="item.amount.toString()" md-min-length="0" md-require-match="" md-no-cache="true"
md-menu-class="popup-autocomplete" class="fee-autocomplete">
<md-item-template>
<span md-highlight-text="transfer.autocomplete.searchText">{{item.displayText}}</span>
</md-item-template>
</md-autocomplete>
</td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="transfer-asset-confirmation" waves-dialog ok-button-caption="CONFIRM" ok-button-enabled="!transfer.broadcast.pending" on-dialog-ok="transfer.broadcastTransaction()">
<div class="dialog-confirmation">
<p class="dialog-text">You are sending <span class="confirmation-value">{{transfer.confirm.amount | moneyLong:true}}</span> with
<span class="confirmation-value">{{transfer.confirm.fee | moneyLong:true}}</span> fee <br/>
to the address: <span class="confirmation-value">{{transfer.confirm.recipient}}</span>
</p>
<p class="dialog-text">Please <span class="fontBold"> CONFIRM </span>to execute or <span class="fontBold"> CANCEL </span> to discard.</p>
</div>
</div>
</div>
<div class="noDisp" ng-controller="assetReissueController as reissue">
<div id="asset-reissue-dialog" waves-dialog ok-button-caption="REISSUE" ok-button-enabled="!reissue.broadcast.pending" on-dialog-ok="reissue.submitReissue(reissue.assetForm)">
<form id="asset-reissue-form" name="reissue.assetForm" novalidate ng-validate="reissue.validationOptions">
<h2 class="sectionHeader">ASSET REISSUE</h2>
<div class="balanceAmt">
<p>Total tokens issued: </p><span class="balancewaves">{{reissue.totalTokens.formatAmount()}}</span><br/>
<p>Waves balance: </p><span class="balancewaves">{{reissue.wavesBalance.formatAmount(true)}}</span>
</div>
<table class="wavesTable">
<thead>
<tr>
<th>DESCRIPTION</th>
<th>INPUT</th>
</tr>
</thead>
<tbody>
<tr>
<td>Asset identifier</td>
<td>{{reissue.assetId}}</td>
</tr>
<tr>
<td>Asset name</td>
<td>{{reissue.assetName}}</td>
</tr>