-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbridge.html
749 lines (653 loc) · 32.5 KB
/
bridge.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content='maximum-scale=1.0, initial-scale=1.0, width=device-width' name='viewport'>
<title>NFT Bridge - Unifty</title>
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link href="assets/css/material-dashboard.css?v=2.1.0" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet" />
<script type="text/javascript" src="js/web3.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/handlebars.js"></script>
<script type="text/javascript" src="js/ipfs.js"></script>
<script type="text/javascript" src="js/buffer.js"></script>
<script type="text/javascript" src="js/config.js?v=1.9.10"></script>
<script type="text/javascript" src="js/misc.js?v=1.9.10"></script>
<script type="text/javascript" src="js/nifABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/erc1155ABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/multiBatchABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/genesisABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/farmABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/farmShopABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/erc20ABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/univ2ABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/bridgeInABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/bridgeOutABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/uniftyverseABI.js?v=1.9.10"></script>
<script type="text/javascript" src="js/lib.js?v=1.9.10"></script>
<script type="text/javascript" src="js/lib-bridge.js?v=1.9.10"></script>
<script type="text/javascript" src="js/bridge-dapp.js?v=1.9.10"></script>
<script type="text/javascript" src="js/dapp-init.js?v=1.9.10"></script>
<script type="text/javascript" src="js/cookie.js?v=1.9.10"></script>
<script type="text/javascript" src="js/bootstrap.bundle.min.js"></script>
<script src="assets/js/core/popper.min.js" type="text/javascript"></script>
<script src="assets/js/plugins/perfect-scrollbar.jquery.min.js"></script>
<script src="assets/js/plugins/chartist.min.js"></script>
<script src="assets/js/plugins/bootstrap-notify.js"></script>
<script src="assets/js/material-dashboard.js?v=2.1.0" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@ramp-network/[email protected]/dist/ramp-instant-sdk.umd.js" integrity="sha256-heFylj/fcCZffQpQuqUmrk1e08vdaGcpw0w9mWGnbz4=" crossorigin="anonymous"></script>
<script>
$(document).ready(function () {
new ClipboardJS('.btn-clipboard');
});
</script>
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css"
integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<style type="text/css">
.dark-edition .modal .form-control {
color: #8b92a9;
}
.dark-edition .modal a {
color: #8b92a9;
font-weight: 700;
}
.dark-edition .modal .form-control,
.is-focused .dark-edition .modal .form-control {
background-color: #eee;
padding: 5px;
}
.nftListing {
min-width: 300px;
}
.btn-outline {
background-color: transparent !important;
box-shadow: none !important;
-moz-box-shadow: none !important;
-o-box-shadow: none !important;
-webkit-box-shadow: none !important;
}
.btn-clipboard {
background-color: transparent !important;
box-shadow: none !important;
-moz-box-shadow: none !important;
-o-box-shadow: none !important;
-webkit-box-shadow: none !important;
padding: 0 !important;
}
.fa-clipboard,
.fa-external-link {
font-size: 0.8rem !important;
}
.traits-collapse ul li {
border-bottom: 1px solid #8b92a9;
}
.traits-collapse ul li:last-child {
border-bottom: none;
}
.dark-edition .card .card-body .card-description {
color: #8b92a9;
}
.description,
.card-description,
.footer-big p {
color: #8b92a9;
}
.title,
.title a,
.card-title,
.card-title a,
.info-title,
.info-title a,
.footer-brand,
.footer-brand a,
.footer-big h5,
.footer-big h5 a,
.footer-big h4,
.footer-big h4 a,
.media .media-heading,
.media .media-heading a {
color: #8b92a9;
}
body {
color: #8b92a9;
}
.navbar,
.navbar-text a {
color: inherit;
}
</style>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
</style>
<link href="https://fonts.googleapis.com/css?family=Material+Icons+Round" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet" />
</head>
<body>
<script src="js/themeDefault.js"></script>
<!-- SIDEBAR -->
<div class="sidebar">
<div class="logo">
<a href="https://unifty.io" class="simple-text logo-normal">
<img src="assets/img/unifty2.png" width="125" border="0" />
<div id="bscLogo" class="text-muted" style="display: none; font-size: 0.7em;">
Binance Smart Chain
</div>
</a>
</div>
<div class="sidebar-wrapper">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="index.html">
<i class="material-icons-round">home</i>
<p>Home</p>
</a>
</li>
<li class="nav-item" id="marketNavLink">
<a class="nav-link" href="market.html">
<i class="material-icons-round">storefront</i>
<p>NFT Market</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="collectibles.html">
<i class="material-icons-round">account_balance_wallet</i>
<p>Your Wallet</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="manager.html">
<i class="material-icons-round">collections</i>
<p>Collection Manager</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="market-builder.html">
<i class="material-icons-round">add_business</i>
<p>Market Builder</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="farm-builder.html">
<i class="material-icons-round">build</i>
<p>Farm Builder</p>
</a>
</li>
<li class="nav-item bridgeNav active">
<a class="nav-link" href="bridge.html">
<i class="material-icons-round">360</i>
<p>NFT Bridge</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="guides-faq.html">
<i class="material-icons-round">help_center</i>
<p>Guides & FAQ</p>
</a>
</li>
<li class="nav-item" id="xdaiFarm">
<a class="nav-link" href="https://unifty.io/xdai/farm-view.html?address=0x87E5aFba16E3BEbd967699B4D5472B2ae1AA8Fa7">
<i class="material-icons">grass</i>
<p>Rares Farm - NIF (xDai)</p>
</a>
</li>
<li class="nav-item" id="genesisFarm">
<a class="nav-link" href="https://unifty.io/farm.html?farm=0xA2c88A39b1DE8f1d723d9E76AD07f6012826d0f3">
<i class="material-icons">grass</i>
<p>Genesis Farm - NIF-LP</p>
</a>
</li>
</ul>
<div class="sidebar-divider"></div>
<div class="sidebar-bottom">
<div class="sidebar-text">
<div class="sidebar-text icons">
<span class="navbar-text">
<a href="https://www.facebook.com/unifty.io" target="_blank">
<i class="fa fa-facebook"></i> </a>
<a href="https://www.instagram.com/unifty.io/" target="_blank">
<i class="fa fa-instagram"></i>
</a>
<a href="https://t.me/unifty" target="_blank">
<i class="fa fa-telegram"></i>
</a>
<a href="https://discord.gg/5ZBTgnAd9s" target="_blank">
<i class="fa fa-discord"></i>
</a>
<a href="https://twitter.com/unifty_io" target="_blank">
<i class="fa fa-twitter"></i>
</a>
</span>
</div>
<div class="sidebar-text rights">
<span>
<i class="material-icons">copyright</i>
Unifty Development d.o.o.<br/>All rights reserved.
</span>
</div>
</div>
</div>
</div>
</div>
<!-- SIDEBAR END -->
<div class="main-panel">
<!-- NAV TOGGLER -->
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top " id="navigation-example">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-toggle="collapse" aria-controls="navigation-index"
aria-expanded="false" aria-label="Toggle navigation" data-target="#navigation-example">
<span class="sr-only">Toggle navigation</span>
<span class="navbar-toggler-icon icon-bar"></span>
<span class="navbar-toggler-icon icon-bar"></span>
<span class="navbar-toggler-icon icon-bar"></span>
</button>
</div>
</nav>
<!-- NAV TOGGLER END -->
<div class="content">
<!-- HEADER -->
<div class="custom-header">
<div class="custom-header__title">Unifty.io</div>
<div class="custom-header__dropdowns">
<script>
// fix for initial doubleclick required upon page load
// $(document).ready(function () {
// $('#chainSelectionDropdown').click();
// });
</script>
<div class="dropdown ml-3 mr-3 dropdown--chains">
<button id="chainSelectionDropdown" class="btn btn-info dropdown-toggle" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Ethereum
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="https://unifty.io/"><img src="assets/img/network-icons/ethereum_logo.svg">Ethereum</a>
<a class="dropdown-item" href="https://unifty.io/xdai/"><img src="assets/img/network-icons/xdai_logo.svg">xDai</a>
<a class="dropdown-item" href="https://unifty.io/bsc/"><img src="assets/img/network-icons/binance_logo.svg">Binance Smart Chain</a>
<a class="dropdown-item" href="https://unifty.io/avalanche/"><img src="assets/img/network-icons/avalanche_logo.svg">Avalanche</a>
<a class="dropdown-item" href="https://unifty.io/celo/"><img src="assets/img/network-icons/celo_logo.svg">Celo</a>
<a class="dropdown-item" href="https://unifty.io/matic/"><img src="assets/img/network-icons/polygon-logo.svg">Polygon (Matic)</a>
<a class="dropdown-item" href="https://unifty.io/moonbeam-alpha/"><img src="assets/img/network-icons/rinkeby_logo.svg">Moonbeam (Alpha)</a>
<a class="dropdown-item" href="https://unifty.io/rinkeby/"><img src="assets/img/network-icons/rinkeby_logo.svg">Rinkeby (Testnet)</a>
</div>
</div>
<div class="theme-toggler">
<label for="themeSwitch" class="theme-options">
<span class="material-icons-round light-mode">
light_mode
</span>
<span class="material-icons-round dark-mode">
dark_mode
</span>
</label>
<input type="checkbox" id="themeSwitch" name="themeSwitch" />
</div>
</div>
</div>
<!-- HEADER END -->
<div class="content__welcome-text">
<p>
Here you may fund gas for bridging as well as claim bridged NFTs.
</p>
</div>
<div class="container-fluid bridge">
<h1>NFT Bridge</h1>
<div class="bridge-container">
<div id="stakingOptions" class="row">
<div class="dropdown mr-3">
<a href="javascript:void(0);" class="btn btn-primary dropdown-toggle" id="bridgeActions"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="material-icons">
settings
</span>
Bridge Options
</a>
<div class="dropdown-menu" aria-labelledby="bridgeActions">
<a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#depositFundsModal"
id="depositFundsModalButton">Deposit Gas Funds</a>
<a href="javascript:void(0);" class="dropdown-item" data-toggle="modal"
data-target="#withdrawFundsModal" id="withdrawFundsModalButton">Withdraw Gas Funds</a>
<a href="javascript:void(0);" class="dropdown-item" data-toggle="modal"
data-target="#cancelRestoreModal" id="cancelRestoreModalButton">Cancel NFT Restore</a>
</div>
</div>
<a href="javascript:void(0);" class="btn btn-secondary mr-1">
Gas Funds: <span id="gasFunds"></span> ETH
</a>
</div>
<div class="row">
0.1 NIF fees per bridging job.<br/>
Recommended gas funds: 0.03 - 0.05 ETH.
</div>
<script id="no-bridged" type="text/x-handlebars-template">
<div class="container-fluid">
<div>
No bridged NFTs found. Please add gas funds first, then bridge your NFTs on xDai or Rinkeby from "Your Wallet" in the menu.<br/>
There are no minimum gas funds. 2x of gas costs for regular NFT minting are recommended to have enough reserves.<br/><br/>
If the bridging fails, you will be able to restore the affected NFT after 2 hours by using its Job ID.<br/>
Fee per bridging job is 0.1 $NIF.<br/><br/>
You can check the progress of your bridging jobs in our <a href="https://discord.gg/5ZBTgnAd9s" target="_blank">Discord</a> by looking up the bridge logs channels with your Job ID.
</div>
</div>
</script>
<!-- Collectible View -->
<script id="bridged-template" type="text/x-handlebars-template">
<div class="nftListing mb-3">
<div class="card card-profile">
{{#ifNotEquals image ""}}
<img class="card-avatar" loading="lazy" src="{{image}}" alt="{{name}}">
{{/ifNotEquals}}
{{#ifEquals checkOpenSea "Check on OpenSea"}}
<a class="opensea text-muted mt-2" style="font-size: 1.0em; width: 50%; margin: 0 auto;" href="{{opensea}}" target="_blank">{{checkOpenSea}}</a>
{{/ifEquals}}
{{#ifEquals checkOpenSea "Open Details"}}
<a class="opensea text-muted mt-2" style="font-size: 1.0em; width: 50%; margin: 0 auto;" href="{{opensea}}">{{checkOpenSea}}</a>
{{/ifEquals}}
<div class="card-body">
{{#ifNotEquals animation_url ""}}
<a class="btn btn-outline mb-3" data-toggle="collapse" href="#collapseVideo{{erc1155}}{{id}}" role="button" aria-expanded="false" aria-controls="collapseVideo{{erc1155}}{{id}}">
Open Video
</a>
<div class="collapse traits-collapse" id="collapseVideo{{erc1155}}{{id}}">
<ul class="list-group">
<li class="list-group-item">
<video style="width: 100%" src="{{animation_url}}" preload="auto" muted="muted" controls="controls" loop="loop" poster="{{image}}">
Your browser does not support the video tag.
</video>
</li>
</ul>
</div>
{{/ifNotEquals}}
{{#ifNotEquals audio_url ""}}
<audio class="mb-3" style="width: 90%;" controls="controls" preload="auto" loop="loop">
<source src="{{audio_url}}" type="audio/mp3">
Your browser does not support the audio tag.
</audio>
{{/ifNotEquals}}
{{#ifNotEquals interactive_url ""}}
<a class="btn btn-outline mb-3 video-btn-link" style="cursor: pointer;" data-toggle="modal" data-target="#nftInteractiveModal" data-interactive-url="{{interactive_url}}">
<span class="material-icons">
play_circle
</span>
RUN NFT
</a>
{{/ifNotEquals}}
<div class="mb-3">
<span class="badge badge-info">Job ID: {{jobid}}</span>
<span class="badge badge-info">Amount: {{amount}}</span>
</div>
<h5 class="card-title"><a href="{{url}}" target="_blank">{{name}}</a></h5>
{{{collectionName}}}
<p class="card-text text-truncate">{{description}}</p>
<div>
<button class="redeemButton btn btn-outline mb-3" data-token-id="{{id}}" id="redeemButton{{index}}" role="button" aria-expanded="false">Claim</button>
</div>
<a class="traits btn btn-outline" data-toggle="collapse" href="#collapse{{index}}" role="button" aria-expanded="false" aria-controls="collapse{{erc1155}}{{id}}">
Traits
</a>
<div class="collapse traits-collapse" id="collapse{{index}}">
<ul class="list-group">
<li class="list-group-item">
<sub>Source Chain ID</sub><br />
<div>{{srcChainid}}</div>
</li>
<li class="list-group-item">
<sub>Source Collection</sub><br />
<div class="text-truncate">
<button class="btn btn-sm btn-clipboard btn-clipboard{{id}}" data-clipboard-text="{{srcCollection}}" data-toggle="tooltip" data-placement="top" title="Copied">
<i class="fa fa-clipboard"></i>
</button>
<a style="font-size: 1.2rem !important;" href="{{explorer}}{{erc1155}}" target="_blank">{{srcCollection}}</a>
</div>
</li>
<li class="list-group-item">
<sub>Source NFT ID</sub><br />
<div>{{srcId}}</div>
</li>
{{#each attributes}}
<li class="list-group-item">
<sub>{{this.trait_type}}</sub><br />
<div>{{this.value}}</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
</div>
</script>
<div class="row" id="bridgedPage" style="display: none;"></div>
<!-- RESTORE -->
<div class="modal fade" style="overflow-y: scroll;" id="cancelRestoreModal" tabindex="-1" role="dialog"
aria-labelledby="cancelRestoreModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="cancelRestoreModalLabel">Cancel NFT Restore</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-non-nft-content">
<form onsubmit="return false;">
<p>
Please enter your Job ID to cancel the restore job.<br />
If the cancellation fails it means you either restored the NFT already or the 2-hour grace-time
didn't expire yet.
</p>
<div class="form-group">
<label for="jobId">Job ID</label>
<input type="text" placeholder="Enter the Job ID for cancelling the restore" class="form-control"
id="jobId">
</div>
</form>
</div>
<div class="modal-footer">
<div class="buttons-container">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal"
id="restoreCancelButton">Restore</button>
</div>
</div>
</div>
</div>
</div>
<!-- DEPOSIT FUNDS -->
<div class="modal fade" style="overflow-y: scroll;" id="depositFundsModal" tabindex="-1" role="dialog"
aria-labelledby="depositFundsModallLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="depositFundsModalLabel">Deposit Gas Funds</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-non-nft-content">
<form onsubmit="return false;">
<div class="form-group">
<label for="fundsAmount">Gas Funds Amount (ETH)</label>
<input type="text" placeholder="Enter the amount for gas reserves in ETH" class="form-control"
id="fundsAmount">
</div>
</form>
</div>
<div class="modal-footer">
<div class="buttons-container">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal"
id="depositFundsButton">Deposit</button>
</div>
</div>
</div>
</div>
</div>
<!-- WITHDRAW FUNDS -->
<div class="modal fade" style="overflow-y: scroll;" id="withdrawFundsModal" tabindex="-1" role="dialog"
aria-labelledby="withdrawFundsModalModallLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="withdrawFundsModalModallLabel">Withdraw Gas Funds</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-non-nft-content">
Please click on the button below to withdraw your current funds.
</div>
<div class="modal-footer">
<div class="buttons-container">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal"
id="withdrawFundsButton">Withdraw</button>
</div>
</div>
</div>
</div>
</div>
<!-- Interactive -->
<div class="modal fade" style="overflow-y: scroll;" id="nftInteractiveModal" tabindex="-1" role="dialog"
aria-labelledby="nftInteractiveModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="nftInteractiveModalLabel">Run NFT</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-non-nft-content" id="interactiveBody">
Click the run button below to start this interactive NFT.<br /><br />
Only run this if you trust the NFT creator.<br /><br />
In doubts, please ask the creator of this NFT about potential risks prior running it.<br /><br />
<button class="btn btn-primary" type="button" id="runNftNewTab">Run NFT</button>
<br /><br />
Inspired by <a href="https://beyondnft.io/" target="_blank">beyondNFT</a>. Check them out!
<input type="hidden" name="nftInteractiveUrl" id="nftInteractiveUrl" value="" />
</div>
<div class="modal-footer">
<div class="buttons-container">
<button type="button" class="btn btn-secondary" data-dismiss="modal"
id="closeInteractive">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- Interactive END -->
<!-- ALERT -->
<div class="modal fade" style="overflow-y: scroll;" id="alertModal" tabindex="-1" role="dialog"
aria-labelledby="alertModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="alertModalLabel">Info</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-non-nft-content">
</div>
<div class="modal-footer">
<div class="buttons-container">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- MODALS END -->
</div>
</div>
</div>
<!-- FOOTER -->
<div class="footer">
<ul>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://app.uniswap.org/#/swap?outputCurrency=0x7e291890b01e5181f7ecc98d79ffbe12ad23df9e">
<span class="material-icons-round">
find_replace
</span>
Get $NIF on Uniswap
</a>
</li>
<li class="nav-item" id="ramp-btn">
<a class="nav-link">
<span class="material-icons-round">
attach_money
</span>
Buy crypto with RAMP
</a>
</li>
<li class="nav-item shop" id="shopEthereum" style="display:none;">
<a class="nav-link" href="https://unifty.io/farm-view.html?address=0x7387DF14E182b37aEF944C231E6f4D88EbBa1145">
<span class="material-icons-round">
shopping_cart
</span>
Shop
</a>
</li>
<li class="nav-item shop" id="shopXdai" style="display:none;">
<a class="nav-link" href="https://unifty.io/xdai/farm-view.html?address=0xCBe3F53c26A717704d12D219F8B43016BbDa9082">
<span class="material-icons-round">
shopping_cart
</span>
Shop
</a>
</li>
<li class="nav-item shop" id="shopBsc" style="display:none;">
<a class="nav-link" href="https://unifty.io/bsc/farm-view.html?address=0x7B717526fF81f28053F82170D96f01B4605A5e90">
<span class="material-icons-round">
shopping_cart
</span>
Shop
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="roadmap.html">
<span class="material-icons-round">
group
</span>
About UNIFTY
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="guides-faq.html">
<span class="material-icons-round">
help_outline
</span>
FAQ
</a>
</li>
<li class="nav-item" style="display:none;" id="torus">
<a class="nav-link" href="javascript:enableTorus();">
<span class="material-icons-round">
account_balance_wallet
</span>
Enable Wallet
</a>
</li>
<li class="nav-item" style="display:none;" id="torusAddress">
<a href="javascript:void(0);" id="torusAddressPopover" type="button" class="btn btn-clipboard" style="cursor: pointer;" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="top" title="Your Address" data-html="true" data-content="">
<span class="material-icons-round">
account_balance_wallet
</span>
</a>
</li>
</ul>
</div>
<!-- FOOTER END -->
</div>
<script src="js/ramp-init.js"></script>
<script src="js/themeSwitch.js"></script>
</body>
</html>