-
Notifications
You must be signed in to change notification settings - Fork 0
/
migrate.html
403 lines (395 loc) · 14.1 KB
/
migrate.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
<head>
<!-- Primary Meta Tags -->
<title>CryptoTrex 🦖</title>
<meta name="title" content="CryptoTrex 🦖" />
<meta
name="description"
content="The dinosaurs are back! (in the metaverse)"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://cryptotrexnft.com/" />
<meta property="og:title" content="CryptoTrex 🦖" />
<meta
property="og:description"
content="The dinosaurs are back! (in the metaverse)"
/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
property="og:image"
content="https://cryptotrexnft.com/img/meta-banner.jpeg"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://cryptotrexnft.com/" />
<meta property="twitter:title" content="CryptoTrex 🦖" />
<meta
property="twitter:description"
content="The dinosaurs are back! (in the metaverse)"
/>
<meta
property="twitter:image"
content="https://cryptotrexnft.com/img/meta-banner.jpeg"
/>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@800&display=swap"
rel="stylesheet"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href="css/cosmos.css" rel="stylesheet" />
<link href="css/migrate.css" rel="stylesheet" />
</head>
<body>
<nav
class="navbar navbar-expand-lg navbar-dark bg-black bg-opacity-75"
style="width: 100%; z-index: 9999"
>
<div class="container">
<a class="navbar-brand" href="/">
<img height="48" style="margin-bottom: -8px" src="img/logo.png" />
</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mx-auto mb-2 mb-lg-0">
<li class="nav-item">
<a
class="nav-link nav-link-ltr active header-font"
href="/migrate.html"
>My Trexes</a
>
</li>
<li class="nav-item">
<a
class="nav-link nav-link-ltr active header-font"
href="/claim.html"
>Claim</a
>
</li>
<li class="nav-item nav-link-ltr dropdown">
<a
class="nav-link active dropdown-toggle header-font"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Games
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<a class="dropdown-item" href="/jumpy-trex.html">Jumpy Trex</a>
</li>
<li>
<a
class="dropdown-item"
href="https://whitepaper.cryptotrexnft.com"
target="_blank"
>Age of Dinos Whitepaper</a
>
</li>
</ul>
</li>
</ul>
<ul class="navbar-nav mb-2 mb-lg-0">
<li class="nav-item">
<div class="social">
<a href="https://discord.gg/ekk838XkbV" target="_blank">
<img src="img/socials/discord.svg" alt="Discord" />
</a>
<a href="https://www.twitter.com/cryptotrexnft" target="_blank">
<img src="img/socials/twitter.svg" alt="Twitter" />
</a>
<a
href="https://opensea.io/collection/cryptotrex"
target="_blank"
>
<img src="img/socials/opensea.svg" alt="Opensea" />
</a>
<a href="https://www.instagram.com/cryptotrexnft" target="_blank">
<img src="img/socials/ig.svg" alt="Instagram" />
</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<div class="container" id="approvalView" hidden>
<div class="row my-5">
<div class="col-xs-12">
<div class="alert alert-dark">
<p>
Before we begin, you need to approve your CryptoTrex collection
before migrating, which requires a one-time gas fee.
</p>
<p>
<i style="font-size: xx-small; color: #727272"
>Please note that this approval transaction is Ethereum's built-in
security mechanism, which can't and shouldn't be bypassed.</i
>
</p>
<p>
<i style="font-size: xx-small; color: #727272"
>Also this transaction is a one-time transaction, please only
approve it <strong>once</strong> so you don't waste your precious
ETH on gas fees</i
>
</p>
<p style="margin-top: 4vh">
After the transaction is successful you will be redirected to the
migration page.
</p>
<div
id="approvalContainer"
style="display: flex; margin-bottom: 6vh; margin-top: 4vh"
>
<button
type="button"
class="btn btn-primary"
id="approveBtn"
style="margin-right: 10px"
>
Approve
</button>
</div>
<p hidden style="font-size: xx-small; color: red" id="warningNoTrex">
You don't have any CryptoTrex to migrate. Are you sure you want to
proceed?
</p>
<p style="font-size: xx-small; color: #727272">
Stuck in this page? Click
<a
><u
onclick="javascript:window.location.reload();"
style="color: #489ce7"
>here</u
></a
>
to reload.
</p>
</div>
</div>
</div>
</div>
<div class="container" id="migrationView">
<div class="row mt-5">
<div class="col-xs-12">
<div class="alert alert-dark" style="padding: 24px">
<h2><strong>Let's migrate!</strong></h2>
<ul class="nes-list is-disc">
<li>Change your duplicate T-rex into a whole new T-rex.</li>
<li>Assign correct properties to your T-rexes.</li>
<li>Rewards you 10 $FOSSIL tokens for each T-rex migrated.</li>
</ul>
</div>
</div>
</div>
<div class="row pt-1">
<div class="col-xs-12 justify-content-between d-flex">
<button
type="button"
class="btn btn-primary"
id="batchMigrateBtn"
style="margin-right: 10px; margin-bottom: 10px; font-weight: 800"
>
Migrate All
</button>
<button
type="button"
class="btn btn-secondary"
id="addTokenBtn"
hidden
style="font-weight: 800"
>
Add $FOSSIL token
</button>
</div>
</div>
<div class="row pt-1" id="card-list"></div>
<div class="row pb-1 mt-5">
<div class="col-xs-12">
<div class="alert alert-dark" style="padding: 24px">
<h2 style="margin-bottom: 24px">
<strong>Frequently Asked Questions</strong>
</h2>
<div class="accordion" id="faq">
<div class="accordion-item">
<h3 class="accordion-header" id="heading1">
<button
class="accordion-button collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse1"
aria-expanded="true"
aria-controls="collapse1"
>
How do I claim my $FOSSIL token after migration?
</button>
</h3>
<div
id="collapse1"
class="accordion-collapse collapse"
aria-labelledby="heading1"
data-bs-parent="#faq"
>
<div class="accordion-body">
You don't have to manually claim your $FOSSIL token, $FOSSIL
token will be automatically minted to your wallet upon
migration of your Genesis Trexes.
</div>
</div>
</div>
<div class="accordion-item">
<h3 class="accordion-header" id="heading2">
<button
class="accordion-button collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse2"
aria-expanded="true"
aria-controls="collapse2"
>
Until when I can migrate my Genesis Trexes?
</button>
</h3>
<div
id="collapse2"
class="accordion-collapse collapse"
aria-labelledby="heading2"
data-bs-parent="#faq"
>
<div class="accordion-body">
There's no time limit to when you have to migrate your Genesis
Trexes but future works in our roadmap require the migrated
trexes. Please do it when it's convenient and cheapest for you
to do so.
</div>
</div>
</div>
<div class="accordion-item">
<h3 class="accordion-header" id="heading3">
<button
class="accordion-button collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse3"
aria-expanded="true"
aria-controls="collapse3"
>
How do I know if my Genesis Trexes have been migrated?
</button>
</h3>
<div
id="collapse3"
class="accordion-collapse collapse"
aria-labelledby="heading3"
data-bs-parent="#faq"
>
<div class="accordion-body">
Your Trexes are migrated the moment the transaction is
validated on the mainnet. From the migration page, if the
button is disabled and has "Migrated" text, your corresponding
Trex has been successfully migrated. You can also check by
looking at
<a href="https://opensea.io/collection/cryptotrex"
>the CryptoTrex Genesis collection</a
>.
</div>
</div>
</div>
<div class="accordion-item">
<h3 class="accordion-header" id="heading4">
<button
class="accordion-button collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse4"
aria-expanded="true"
aria-controls="collapse4"
>
Why is my migrated piece not showing on the collection even
though the transaction has been validated?
</button>
</h3>
<div
id="collapse4"
class="accordion-collapse collapse"
aria-labelledby="heading4"
data-bs-parent="#faq"
>
<div class="accordion-body">
OpenSea takes some time to populate the NFT metadata like
image URL and properties so you should probably have to check
again in 20-30 minutes. For immediate status, you can always
check from this migration page (pieces with button disabled
and text turned into "Migrated").
</div>
</div>
</div>
<div class="accordion-item">
<h3 class="accordion-header" id="heading5">
<button
class="accordion-button collapsed"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapse5"
aria-expanded="true"
aria-controls="collapse5"
>
What are the contract addresses?
</button>
</h3>
<div
id="collapse5"
class="accordion-collapse collapse"
aria-labelledby="heading5"
data-bs-parent="#faq"
>
<div class="accordion-body">
<ul>
<li>
CryptoTrex Genesis:
<a
href="https://etherscan.io/address/0x01FAd58CC2f0d3282724bE1DA34b90709Bf04e37"
>0x01FAd58CC2f0d3282724bE1DA34b90709Bf04e37</a
>
</li>
<li>
$FOSSIL Token:
<a
href="https://etherscan.io/token/0x9b805ad1425b17e39870dfe7d1d48ec7fc53690b"
>0x9b805ad1425b17e39870dfe7d1d48ec7fc53690b</a
>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<script src="js/migrate.js" type="module"></script>
</body>