@lifi/data-types 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +31 -0
  3. package/dist/chains/index.d.ts +2 -0
  4. package/dist/chains/index.js +2 -0
  5. package/dist/chains/supportedChains.d.ts +6 -0
  6. package/dist/chains/supportedChains.js +1174 -0
  7. package/dist/chains/supportedChains.unit.spec.d.ts +1 -0
  8. package/dist/chains/supportedChains.unit.spec.js +79 -0
  9. package/dist/chains/utils.d.ts +1 -0
  10. package/dist/chains/utils.js +4 -0
  11. package/dist/cjs/chains/index.d.ts +2 -0
  12. package/dist/cjs/chains/index.js +18 -0
  13. package/dist/cjs/chains/supportedChains.d.ts +6 -0
  14. package/dist/cjs/chains/supportedChains.js +1179 -0
  15. package/dist/cjs/chains/supportedChains.unit.spec.d.ts +1 -0
  16. package/dist/cjs/chains/supportedChains.unit.spec.js +81 -0
  17. package/dist/cjs/chains/utils.d.ts +1 -0
  18. package/dist/cjs/chains/utils.js +8 -0
  19. package/dist/cjs/coins/coins.d.ts +26 -0
  20. package/dist/cjs/coins/coins.int.spec.d.ts +1 -0
  21. package/dist/cjs/coins/coins.int.spec.js +31 -0
  22. package/dist/cjs/coins/coins.js +1842 -0
  23. package/dist/cjs/coins/index.d.ts +1 -0
  24. package/dist/cjs/coins/index.js +17 -0
  25. package/dist/cjs/index.d.ts +3 -0
  26. package/dist/cjs/index.js +19 -0
  27. package/dist/cjs/multicall.d.ts +3 -0
  28. package/dist/cjs/multicall.js +79 -0
  29. package/dist/coins/coins.d.ts +26 -0
  30. package/dist/coins/coins.int.spec.d.ts +1 -0
  31. package/dist/coins/coins.int.spec.js +29 -0
  32. package/dist/coins/coins.js +1835 -0
  33. package/dist/coins/index.d.ts +1 -0
  34. package/dist/coins/index.js +1 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/index.js +3 -0
  37. package/dist/multicall.d.ts +3 -0
  38. package/dist/multicall.js +76 -0
  39. package/package.json +90 -0
@@ -0,0 +1,1835 @@
1
+ /* eslint-disable max-lines */
2
+ import { ChainId, CoinKey } from '@lifi/types';
3
+ export const basicCoins = [
4
+ // NATIVE COINS
5
+ // > ETH
6
+ {
7
+ key: CoinKey.ETH,
8
+ name: CoinKey.ETH,
9
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
10
+ verified: true,
11
+ chains: {
12
+ [ChainId.ETH]: {
13
+ address: '0x0000000000000000000000000000000000000000',
14
+ decimals: 18,
15
+ },
16
+ [ChainId.BSC]: {
17
+ address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
18
+ decimals: 18,
19
+ },
20
+ [ChainId.SOL]: {
21
+ address: '7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs',
22
+ decimals: 8,
23
+ name: 'Wrapped SOL (Wormhole)',
24
+ },
25
+ [ChainId.POL]: {
26
+ address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
27
+ decimals: 18,
28
+ },
29
+ [ChainId.DAI]: {
30
+ address: '0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1',
31
+ decimals: 18,
32
+ symbol: 'WETH',
33
+ name: 'Wrapped Ether',
34
+ },
35
+ [ChainId.OPT]: {
36
+ address: '0x0000000000000000000000000000000000000000',
37
+ decimals: 18,
38
+ },
39
+ [ChainId.ARB]: {
40
+ address: '0x0000000000000000000000000000000000000000',
41
+ decimals: 18,
42
+ },
43
+ [ChainId.ERA]: {
44
+ address: '0x0000000000000000000000000000000000000000',
45
+ decimals: 18,
46
+ },
47
+ [ChainId.PZE]: {
48
+ address: '0x0000000000000000000000000000000000000000',
49
+ decimals: 18,
50
+ },
51
+ [ChainId.FTM]: {
52
+ address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
53
+ decimals: 18,
54
+ },
55
+ [ChainId.AVA]: {
56
+ address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
57
+ decimals: 18,
58
+ symbol: 'WETH.e',
59
+ name: 'Wrapped Ether',
60
+ },
61
+ // [ChainId.ARB]: { // WETH
62
+ // address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
63
+ // decimals: 18,
64
+ [ChainId.ONE]: {
65
+ address: '0x6983d1e6def3690c4d616b13597a09e6193ea013',
66
+ decimals: 18,
67
+ },
68
+ [ChainId.HEC]: {
69
+ address: '0x64ff637fb478863b7468bc97d30a5bf3a428a1fd',
70
+ decimals: 18,
71
+ name: 'Heco-Peg ETH Token',
72
+ },
73
+ [ChainId.OKT]: {
74
+ address: '0xef71ca2ee68f45b9ad6f72fbdb33d707b872315c',
75
+ decimals: 18,
76
+ symbol: 'ETHK',
77
+ name: 'ETHK',
78
+ },
79
+ [ChainId.BOB]: {
80
+ address: '0x0000000000000000000000000000000000000000',
81
+ decimals: 18,
82
+ },
83
+ [ChainId.MOO]: {
84
+ address: '0xfa9343c3897324496a05fc75abed6bac29f8a40f',
85
+ decimals: 18,
86
+ },
87
+ [ChainId.AUR]: {
88
+ address: '0x0000000000000000000000000000000000000000',
89
+ decimals: 18,
90
+ symbol: 'AETH',
91
+ name: 'AETH',
92
+ },
93
+ // https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca
94
+ [ChainId.VEL]: {
95
+ address: '0x85219708c49aa701871ad330a94ea0f41dff24ca',
96
+ decimals: 18,
97
+ },
98
+ // Testnets
99
+ [ChainId.GOR]: {
100
+ address: '0x0000000000000000000000000000000000000000',
101
+ decimals: 18,
102
+ },
103
+ [ChainId.ONET]: {
104
+ address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
105
+ decimals: 18,
106
+ },
107
+ [ChainId.BSCT]: {
108
+ address: '0xd66c6b4f0be8ce5b39d52e0fd1344c389929b378',
109
+ decimals: 18,
110
+ },
111
+ [ChainId.OPTG]: {
112
+ address: '0x0000000000000000000000000000000000000000',
113
+ decimals: 18,
114
+ },
115
+ [ChainId.ARBG]: {
116
+ address: '0x0000000000000000000000000000000000000000',
117
+ decimals: 18,
118
+ },
119
+ [ChainId.LNAT]: {
120
+ address: '0x0000000000000000000000000000000000000000',
121
+ decimals: 18,
122
+ },
123
+ },
124
+ },
125
+ // > MATIC
126
+ {
127
+ key: CoinKey.MATIC,
128
+ name: CoinKey.MATIC,
129
+ logoURI: 'https://static.debank.com/image/matic_token/logo_url/matic/6f5a6b6f0732a7a235131bd7804d357c.png',
130
+ verified: true,
131
+ chains: {
132
+ [ChainId.ETH]: {
133
+ address: '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0',
134
+ decimals: 18,
135
+ name: 'Matic Token',
136
+ },
137
+ [ChainId.SOL]: {
138
+ address: 'Gz7VkD4MacbEB6yC5XD3HcumEiYx2EtDYYrfikGsvopG',
139
+ decimals: 8,
140
+ name: 'Wrapped Matic (Wormhole)',
141
+ },
142
+ [ChainId.BSC]: {
143
+ address: '0xcc42724c6683b7e57334c4e856f4c9965ed682bd',
144
+ decimals: 18,
145
+ name: 'Matic Token',
146
+ },
147
+ [ChainId.POL]: {
148
+ address: '0x0000000000000000000000000000000000000000',
149
+ decimals: 18,
150
+ },
151
+ [ChainId.DAI]: {
152
+ address: '0x7122d7661c4564b7c6cd4878b06766489a6028a2',
153
+ decimals: 18,
154
+ name: 'Matic Token',
155
+ },
156
+ // https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/
157
+ [ChainId.VEL]: {
158
+ address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
159
+ decimals: 18,
160
+ },
161
+ // Testnet
162
+ [ChainId.MUM]: {
163
+ address: '0x0000000000000000000000000000000000000000',
164
+ decimals: 18,
165
+ },
166
+ [ChainId.LNAT]: {
167
+ address: '0xa55C7E1274bE5db2275a0BDd055f81e8263b7954',
168
+ decimals: 18,
169
+ },
170
+ },
171
+ },
172
+ // > BNB
173
+ {
174
+ key: CoinKey.BNB,
175
+ name: CoinKey.BNB,
176
+ logoURI: 'https://assets.coingecko.com/coins/images/825/small/binance-coin-logo.png?1547034615',
177
+ verified: true,
178
+ chains: {
179
+ [ChainId.ETH]: {
180
+ address: '0xb8c77482e45f1f44de1745f52c74426c631bdd52',
181
+ decimals: 18,
182
+ },
183
+ [ChainId.SOL]: {
184
+ address: '9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa',
185
+ decimals: 8,
186
+ name: 'Wrapped BNB (Wormhole)',
187
+ },
188
+ [ChainId.BSC]: {
189
+ address: '0x0000000000000000000000000000000000000000',
190
+ decimals: 18,
191
+ },
192
+ [ChainId.POL]: {
193
+ address: '0xa649325aa7c5093d12d6f98eb4378deae68ce23f',
194
+ decimals: 18,
195
+ },
196
+ [ChainId.DAI]: {
197
+ address: '0xca8d20f3e0144a72c6b5d576e9bd3fd8557e2b04',
198
+ decimals: 18,
199
+ symbol: 'WBNB',
200
+ name: 'Wrapped BNB',
201
+ },
202
+ [ChainId.ONE]: {
203
+ address: '0xb1f6e61e1e113625593a22fa6aa94f8052bc39e0',
204
+ decimals: 18,
205
+ symbol: 'bscBNB',
206
+ },
207
+ [ChainId.MOO]: {
208
+ address: '0xc9baa8cfdde8e328787e29b4b078abf2dadc2055',
209
+ decimals: 18,
210
+ },
211
+ // https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4
212
+ [ChainId.VEL]: {
213
+ address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
214
+ decimals: 18,
215
+ },
216
+ // Testnet
217
+ [ChainId.BSCT]: {
218
+ address: '0x0000000000000000000000000000000000000000',
219
+ decimals: 18,
220
+ },
221
+ [ChainId.ONET]: {
222
+ address: '0xbef55684b382bae72051813a898d17282066c007',
223
+ decimals: 18,
224
+ },
225
+ [ChainId.LNAT]: {
226
+ address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
227
+ decimals: 18,
228
+ },
229
+ },
230
+ },
231
+ // > DAI
232
+ {
233
+ key: CoinKey.DAI,
234
+ name: 'DAI Stablecoin',
235
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png',
236
+ verified: true,
237
+ chains: {
238
+ [ChainId.ETH]: {
239
+ address: '0x6b175474e89094c44da98b954eedeac495271d0f',
240
+ decimals: 18,
241
+ },
242
+ [ChainId.SOL]: {
243
+ address: 'EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o',
244
+ decimals: 8,
245
+ name: 'DAI Stablecoin (Wormhole)',
246
+ },
247
+ [ChainId.BSC]: {
248
+ address: '0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3',
249
+ decimals: 18,
250
+ },
251
+ [ChainId.POL]: {
252
+ address: '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
253
+ decimals: 18,
254
+ name: '(PoS) DAI Stablecoin',
255
+ },
256
+ [ChainId.DAI]: {
257
+ address: '0x0000000000000000000000000000000000000000',
258
+ decimals: 18,
259
+ symbol: 'xDAI',
260
+ name: 'xDAI Native Token',
261
+ },
262
+ [ChainId.OPT]: {
263
+ address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
264
+ decimals: 18,
265
+ },
266
+ [ChainId.ERA]: {
267
+ address: '0x4bef76b6b7f2823c6c1f4fcfeacd85c24548ad7e',
268
+ decimals: 18,
269
+ },
270
+ [ChainId.FTM]: {
271
+ address: '0x8d11ec38a3eb5e956b052f67da8bdc9bef8abf3e',
272
+ decimals: 18,
273
+ },
274
+ [ChainId.ONE]: {
275
+ address: '0xef977d2f931c1978db5f6747666fa1eacb0d0339',
276
+ decimals: 18,
277
+ symbol: '1DAI',
278
+ },
279
+ [ChainId.AVA]: {
280
+ address: '0xd586e7f844cea2f87f50152665bcbc2c279d8d70',
281
+ decimals: 18,
282
+ symbol: 'DAI.e',
283
+ },
284
+ [ChainId.ARB]: {
285
+ address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
286
+ decimals: 18,
287
+ },
288
+ [ChainId.OKT]: {
289
+ address: '0x21cde7e32a6caf4742d00d44b07279e7596d26b9',
290
+ decimals: 18,
291
+ symbol: 'DAIK',
292
+ },
293
+ [ChainId.CRO]: {
294
+ address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
295
+ decimals: 18,
296
+ },
297
+ [ChainId.FUS]: {
298
+ address: '0x94ba7a27c7a95863d1bdc7645ac2951e0cca06ba',
299
+ decimals: 18,
300
+ name: 'DAI Stablecoin',
301
+ },
302
+ [ChainId.CEL]: {
303
+ address: '0x90ca507a5d4458a4c6c6249d186b6dcb02a5bccd',
304
+ decimals: 18,
305
+ },
306
+ [ChainId.MOO]: {
307
+ address: '0x765277eebeca2e31912c9946eae1021199b39c61',
308
+ decimals: 18,
309
+ },
310
+ [ChainId.BOB]: {
311
+ address: '0xf74195bb8a5cf652411867c5c2c5b8c2a402be35',
312
+ decimals: 18,
313
+ },
314
+ [ChainId.EVM]: {
315
+ address: '0x461d52769884ca6235B685EF2040F47d30C94EB5',
316
+ decimals: 18,
317
+ },
318
+ // https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D
319
+ [ChainId.VEL]: {
320
+ address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
321
+ decimals: 18,
322
+ },
323
+ // Testnets
324
+ [ChainId.GOR]: {
325
+ address: '0xdc31ee1784292379fbb2964b3b9c4124d8f89c60',
326
+ decimals: 18,
327
+ },
328
+ [ChainId.MUM]: {
329
+ address: '0xb224913ce3851b0a0d7c0fb461eef40f2e31ddb8',
330
+ decimals: 18,
331
+ },
332
+ // 42, 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa, 18
333
+ },
334
+ },
335
+ // > FTM
336
+ {
337
+ key: CoinKey.FTM,
338
+ name: CoinKey.FTM,
339
+ logoURI: 'https://static.debank.com/image/ftm_token/logo_url/ftm/33fdb9c5067e94f3a1b9e78f6fa86984.png',
340
+ verified: true,
341
+ chains: {
342
+ [ChainId.FTM]: {
343
+ address: '0x0000000000000000000000000000000000000000',
344
+ decimals: 18,
345
+ },
346
+ [ChainId.SOL]: {
347
+ address: '8gC27rQF4NEDYfyf5aS8ZmQJUum5gufowKGYRRba4ENN',
348
+ decimals: 8,
349
+ name: 'Fantom Token (Wormhole)',
350
+ },
351
+ },
352
+ },
353
+ // > OKT
354
+ {
355
+ key: CoinKey.OKT,
356
+ name: CoinKey.OKT,
357
+ logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
358
+ verified: true,
359
+ chains: {
360
+ [ChainId.OKT]: {
361
+ address: '0x0000000000000000000000000000000000000000',
362
+ decimals: 18,
363
+ },
364
+ },
365
+ },
366
+ // > AVAX
367
+ {
368
+ key: CoinKey.AVAX,
369
+ name: CoinKey.AVAX,
370
+ logoURI: 'https://static.debank.com/image/avax_token/logo_url/avax/0b9c84359c84d6bdd5bfda9c2d4c4a82.png',
371
+ verified: true,
372
+ chains: {
373
+ [ChainId.AVA]: {
374
+ address: '0x0000000000000000000000000000000000000000',
375
+ decimals: 18,
376
+ },
377
+ [ChainId.SOL]: {
378
+ address: 'KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE',
379
+ decimals: 8,
380
+ name: 'Avalanche (Wormhole)',
381
+ },
382
+ [ChainId.AVAT]: {
383
+ address: '0x0000000000000000000000000000000000000000',
384
+ decimals: 18,
385
+ },
386
+ // Testnets
387
+ [ChainId.LNAT]: {
388
+ address: '0x265B25e22bcd7f10a5bD6E6410F10537Cc7567e8',
389
+ decimals: 18,
390
+ },
391
+ },
392
+ },
393
+ // > HT
394
+ {
395
+ key: CoinKey.HT,
396
+ name: CoinKey.HT,
397
+ logoURI: 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
398
+ verified: true,
399
+ chains: {
400
+ [ChainId.HEC]: {
401
+ address: '0x0000000000000000000000000000000000000000',
402
+ decimals: 18,
403
+ },
404
+ },
405
+ },
406
+ // > ONE
407
+ {
408
+ key: CoinKey.ONE,
409
+ name: CoinKey.ONE,
410
+ logoURI: 'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
411
+ verified: true,
412
+ chains: {
413
+ [ChainId.ONE]: {
414
+ address: '0x0000000000000000000000000000000000000000',
415
+ decimals: 18,
416
+ },
417
+ [ChainId.BSC]: {
418
+ address: '0x03ff0ff224f904be3118461335064bb48df47938',
419
+ decimals: 18,
420
+ name: 'Harmony ONE',
421
+ },
422
+ // Testnet
423
+ [ChainId.ONET]: {
424
+ address: '0x0000000000000000000000000000000000000000',
425
+ decimals: 18,
426
+ },
427
+ },
428
+ },
429
+ // > FSN
430
+ {
431
+ key: CoinKey.FSN,
432
+ name: CoinKey.FSN,
433
+ logoURI: 'https://www.bscscan.com/token/images/anyFSN_32.png',
434
+ verified: true,
435
+ chains: {
436
+ [ChainId.FSN]: {
437
+ address: '0x0000000000000000000000000000000000000000',
438
+ decimals: 18,
439
+ },
440
+ },
441
+ },
442
+ // > MOVR
443
+ {
444
+ key: CoinKey.MOVR,
445
+ name: CoinKey.MOVR,
446
+ logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
447
+ verified: true,
448
+ chains: {
449
+ [ChainId.MOR]: {
450
+ address: '0x0000000000000000000000000000000000000000',
451
+ decimals: 18,
452
+ },
453
+ [ChainId.MOO]: {
454
+ address: '0x1d4c2a246311bb9f827f4c768e277ff5787b7d7e',
455
+ decimals: 18,
456
+ },
457
+ },
458
+ },
459
+ // OTHER STABLECOINS
460
+ // USDT
461
+ {
462
+ key: CoinKey.USDT,
463
+ name: CoinKey.USDT,
464
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
465
+ verified: true,
466
+ chains: {
467
+ [ChainId.ETH]: {
468
+ address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
469
+ decimals: 6,
470
+ },
471
+ [ChainId.SOL]: {
472
+ address: 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB',
473
+ decimals: 6,
474
+ name: 'USDT',
475
+ },
476
+ [ChainId.BSC]: {
477
+ address: '0x55d398326f99059ff775485246999027b3197955',
478
+ decimals: 18,
479
+ },
480
+ [ChainId.POL]: {
481
+ address: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f',
482
+ decimals: 6,
483
+ },
484
+ [ChainId.DAI]: {
485
+ address: '0x4ecaba5870353805a9f068101a40e0f32ed605c6',
486
+ decimals: 6,
487
+ },
488
+ [ChainId.OPT]: {
489
+ address: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
490
+ decimals: 6,
491
+ },
492
+ [ChainId.FTM]: {
493
+ address: '0x049d68029688eabf473097a2fc38ef61633a3c7a',
494
+ decimals: 6,
495
+ },
496
+ [ChainId.ARB]: {
497
+ address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
498
+ decimals: 6,
499
+ },
500
+ [ChainId.ONE]: {
501
+ address: '0x3c2b8be99c50593081eaa2a724f0b8285f5aba8f',
502
+ decimals: 6,
503
+ },
504
+ [ChainId.AVA]: {
505
+ address: '0xc7198437980c041c805a1edcba50c1ce5db95118',
506
+ decimals: 6,
507
+ symbol: 'USDT.e',
508
+ name: 'Tether USD',
509
+ },
510
+ [ChainId.MOR]: {
511
+ address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
512
+ decimals: 6,
513
+ },
514
+ [ChainId.OKT]: {
515
+ address: '0x382bb369d343125bfb2117af9c149795c6c65c50',
516
+ decimals: 18,
517
+ },
518
+ [ChainId.CRO]: {
519
+ address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
520
+ decimals: 6,
521
+ },
522
+ [ChainId.HEC]: {
523
+ address: '0xa71edc38d189767582c38a3145b5873052c3e47a',
524
+ decimals: 18,
525
+ },
526
+ [ChainId.FUS]: {
527
+ address: '0xfadbbf8ce7d5b7041be672561bba99f79c532e10',
528
+ decimals: 6,
529
+ },
530
+ [ChainId.CEL]: {
531
+ address: '0x88eec49252c8cbc039dcdb394c0c2ba2f1637ea0',
532
+ decimals: 6,
533
+ },
534
+ [ChainId.MOO]: {
535
+ address: '0xefaeee334f0fd1712f9a8cc375f427d9cdd40d73',
536
+ decimals: 6,
537
+ },
538
+ [ChainId.BOB]: {
539
+ address: '0x5de1677344d3cb0d7d465c10b72a8f60699c062d',
540
+ decimals: 6,
541
+ },
542
+ [ChainId.EVM]: {
543
+ address: '0x7FF4a56B32ee13D7D4D405887E0eA37d61Ed919e',
544
+ decimals: 6,
545
+ },
546
+ [ChainId.AUR]: {
547
+ address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
548
+ decimals: 6,
549
+ },
550
+ // https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE
551
+ [ChainId.VEL]: {
552
+ address: '0x01445c31581c354b7338ac35693ab2001b50b9ae',
553
+ decimals: 6,
554
+ name: 'Multichain USDT',
555
+ },
556
+ // Testnets
557
+ [ChainId.GOR]: {
558
+ address: '0x509ee0d083ddf8ac028f2a56731412edd63223b9',
559
+ decimals: 6,
560
+ },
561
+ },
562
+ },
563
+ // ======= STARGATE TESTNET TOKENS =======
564
+ // stargate USDC testtoken
565
+ {
566
+ key: CoinKey.sgUSDC,
567
+ name: CoinKey.sgUSDC,
568
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
569
+ verified: true,
570
+ chains: {
571
+ [ChainId.GOR]: {
572
+ address: '0xDf0360Ad8C5ccf25095Aa97ee5F2785c8d848620',
573
+ decimals: 6,
574
+ },
575
+ [ChainId.MUM]: {
576
+ address: '0x742DfA5Aa70a8212857966D491D67B09Ce7D6ec7',
577
+ decimals: 6,
578
+ },
579
+ [ChainId.ARBG]: {
580
+ address: '0x6aad876244e7a1ad44ec4824ce813729e5b6c291',
581
+ decimals: 6,
582
+ },
583
+ },
584
+ },
585
+ // stargate BUSD testtoken
586
+ {
587
+ key: CoinKey.sgBUSD,
588
+ name: CoinKey.sgBUSD,
589
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
590
+ verified: true,
591
+ chains: {
592
+ [ChainId.BSCT]: {
593
+ address: '0x1010Bb1b9Dff29e6233E7947e045e0ba58f6E92e',
594
+ decimals: 6,
595
+ },
596
+ },
597
+ },
598
+ // stargate USDT testtoken
599
+ {
600
+ key: CoinKey.sgUSDT,
601
+ name: CoinKey.sgUSDT,
602
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
603
+ verified: true,
604
+ chains: {
605
+ [ChainId.GOR]: {
606
+ address: '0x5bcc22abec37337630c0e0dd41d64fd86caee951',
607
+ decimals: 6,
608
+ },
609
+ [ChainId.MUM]: {
610
+ address: '0x6fc340be8e378c2ff56476409ef48da9a3b781a0',
611
+ decimals: 6,
612
+ },
613
+ [ChainId.BSCT]: {
614
+ address: '0xf49e250aeb5abdf660d643583adfd0be41464efd',
615
+ decimals: 6,
616
+ },
617
+ [ChainId.ARBG]: {
618
+ address: '0x533046f316590c19d99c74ee661c6d541b64471c',
619
+ decimals: 6,
620
+ },
621
+ },
622
+ },
623
+ // stargate USDT testtoken
624
+ {
625
+ key: CoinKey.sgMETIS,
626
+ name: CoinKey.sgMETIS,
627
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
628
+ verified: true,
629
+ chains: {
630
+ [ChainId.GOR]: {
631
+ address: '0x9874a71b976daa037741d18b86bc6b2f9957fc8a',
632
+ decimals: 18,
633
+ },
634
+ [ChainId.BSCT]: {
635
+ address: '0x8362af3426e6c7a77438f29bdc81c8f27cd541ab',
636
+ decimals: 18,
637
+ },
638
+ },
639
+ },
640
+ // stargate WOO testtoken
641
+ {
642
+ key: CoinKey.sgWOO,
643
+ name: CoinKey.sgWOO,
644
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
645
+ verified: true,
646
+ chains: {
647
+ [ChainId.GOR]: {
648
+ address: '0xc9ba30be110864264577ad091c47f986318b213e',
649
+ decimals: 18,
650
+ },
651
+ [ChainId.MUM]: {
652
+ address: '0xb9C468f4308f3f937B4Fc79946244459bBC3cf65',
653
+ decimals: 18,
654
+ },
655
+ [ChainId.BSCT]: {
656
+ address: '0x6df6db769dd1c845596f7e65a1c86c98d6147cc3',
657
+ decimals: 18,
658
+ },
659
+ [ChainId.ARBG]: {
660
+ address: '0xac9da6d889e82d08de63f5752f91b151ffe059fb',
661
+ decimals: 18,
662
+ },
663
+ },
664
+ },
665
+ // cBridge CELER testtoken
666
+ {
667
+ key: CoinKey.cbtCELR,
668
+ name: CoinKey.cbtCELR,
669
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
670
+ verified: true,
671
+ chains: {
672
+ [ChainId.GOR]: {
673
+ address: '0x5D3c0F4cA5EE99f8E8F59Ff9A5fAb04F6a7e007f',
674
+ decimals: 18,
675
+ },
676
+ [ChainId.BSCT]: {
677
+ address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
678
+ decimals: 18,
679
+ },
680
+ },
681
+ },
682
+ // cBridge USDT testtoken
683
+ {
684
+ key: CoinKey.cbtUSDT,
685
+ name: CoinKey.cbtUSDT,
686
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
687
+ verified: true,
688
+ chains: {
689
+ [ChainId.GOR]: {
690
+ address: '0xf4b2cbc3ba04c478f0dc824f4806ac39982dce73',
691
+ decimals: 6,
692
+ },
693
+ [ChainId.BSCT]: {
694
+ address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
695
+ decimals: 6,
696
+ },
697
+ },
698
+ },
699
+ // cBridge WUSDT testtoken
700
+ {
701
+ key: CoinKey.cbtWUSDT,
702
+ name: CoinKey.cbtWUSDT,
703
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
704
+ verified: true,
705
+ chains: {
706
+ [ChainId.GOR]: {
707
+ address: '0x9D39Fc627A6d9d9F8C831c16995b209548cc3401',
708
+ decimals: 6,
709
+ },
710
+ [ChainId.BSCT]: {
711
+ address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
712
+ decimals: 6,
713
+ },
714
+ },
715
+ },
716
+ // cBridge WUSDC testtoken
717
+ {
718
+ key: CoinKey.cbtWUSDC,
719
+ name: CoinKey.cbtWUSDC,
720
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
721
+ verified: true,
722
+ chains: {
723
+ [ChainId.GOR]: {
724
+ address: '0x4a63Afc71427807586dA190Bb0D3adB461fF9589',
725
+ decimals: 6,
726
+ },
727
+ },
728
+ },
729
+ // cBridge USDC testtoken
730
+ {
731
+ key: CoinKey.cbtUSDC,
732
+ name: CoinKey.cbtUSDC,
733
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
734
+ verified: true,
735
+ chains: {
736
+ [ChainId.MUM]: {
737
+ address: '0x6de33698e9e9b787e09d3bd7771ef63557e148bb',
738
+ decimals: 6,
739
+ },
740
+ [ChainId.AVAT]: {
741
+ address: '0x2979a1cb90EEB9e75d7fB4f9813FCC40E4a7fD8b',
742
+ decimals: 6,
743
+ },
744
+ [ChainId.BSCT]: {
745
+ address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
746
+ decimals: 6,
747
+ },
748
+ [ChainId.GOR]: {
749
+ address: '0xCbE56b00d173A26a5978cE90Db2E33622fD95A28',
750
+ decimals: 6,
751
+ },
752
+ },
753
+ },
754
+ // USDC
755
+ {
756
+ key: CoinKey.USDC,
757
+ name: 'USD Coin',
758
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
759
+ verified: true,
760
+ chains: {
761
+ [ChainId.ETH]: {
762
+ address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
763
+ decimals: 6,
764
+ },
765
+ [ChainId.SOL]: {
766
+ address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
767
+ decimals: 6,
768
+ name: 'USD Coin',
769
+ },
770
+ [ChainId.BSC]: {
771
+ address: '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d',
772
+ decimals: 18,
773
+ },
774
+ [ChainId.POL]: {
775
+ address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
776
+ decimals: 6,
777
+ },
778
+ [ChainId.DAI]: {
779
+ address: '0xddafbb505ad214d7b80b1f830fccc89b60fb7a83',
780
+ decimals: 6,
781
+ },
782
+ [ChainId.OPT]: {
783
+ address: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
784
+ decimals: 6,
785
+ },
786
+ [ChainId.ERA]: {
787
+ address: '0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4',
788
+ decimals: 6,
789
+ },
790
+ [ChainId.PZE]: {
791
+ address: '0xa8ce8aee21bc2a48a5ef670afcc9274c7bbbc035',
792
+ decimals: 6,
793
+ },
794
+ [ChainId.FTM]: {
795
+ address: '0x04068da6c83afcfa0e13ba15a6696662335d5b75',
796
+ decimals: 6,
797
+ },
798
+ [ChainId.ARB]: {
799
+ address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
800
+ decimals: 6,
801
+ },
802
+ [ChainId.ONE]: {
803
+ address: '0x985458e523db3d53125813ed68c274899e9dfab4',
804
+ decimals: 6,
805
+ },
806
+ [ChainId.AVA]: {
807
+ address: '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e',
808
+ decimals: 6,
809
+ },
810
+ [ChainId.MOR]: {
811
+ address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
812
+ decimals: 6,
813
+ },
814
+ [ChainId.HEC]: {
815
+ address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
816
+ decimals: 6,
817
+ },
818
+ [ChainId.OKT]: {
819
+ address: '0xc946daf81b08146b1c7a8da2a851ddf2b3eaaf85',
820
+ decimals: 18,
821
+ },
822
+ [ChainId.CRO]: {
823
+ address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
824
+ decimals: 6,
825
+ },
826
+ [ChainId.FUS]: {
827
+ address: '0x620fd5fa44be6af63715ef4e65ddfa0387ad13f5',
828
+ decimals: 6,
829
+ },
830
+ [ChainId.CEL]: {
831
+ address: '0xef4229c8c3250c675f21bcefa42f58efbff6002a',
832
+ decimals: 6,
833
+ },
834
+ [ChainId.MOO]: {
835
+ address: '0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b',
836
+ decimals: 6,
837
+ },
838
+ [ChainId.BOB]: {
839
+ address: '0x66a2a913e447d6b4bf33efbec43aaef87890fbbc',
840
+ decimals: 6,
841
+ },
842
+ [ChainId.EVM]: {
843
+ address: '0x51e44FfaD5C2B122C8b635671FCC8139dc636E82',
844
+ decimals: 6,
845
+ },
846
+ [ChainId.AUR]: {
847
+ address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
848
+ decimals: 6,
849
+ },
850
+ // https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993
851
+ [ChainId.VEL]: {
852
+ address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993',
853
+ decimals: 6,
854
+ name: 'Multichain USDC',
855
+ },
856
+ // Testnets
857
+ [ChainId.GOR]: {
858
+ address: '0xd87ba7a50b2e7e660f678a895e4b72e7cb4ccd9c',
859
+ decimals: 6,
860
+ },
861
+ [ChainId.MUM]: {
862
+ address: '0x6d4dd09982853f08d9966ac3ca4eb5885f16f2b2',
863
+ decimals: 6,
864
+ },
865
+ [ChainId.LNAT]: {
866
+ address: '0x964FF70695da981027c81020B1c58d833D49A640',
867
+ decimals: 6,
868
+ name: 'Linea USD Coin',
869
+ },
870
+ // 42, 0xb7a4f3e9097c08da09517b5ab877f7a917224ede, 6
871
+ },
872
+ },
873
+ // USDC.e
874
+ // Represents the USD Coin (USDC) bridged from Ethereum (as opposed to the 'native' USDC issued by Circle)
875
+ {
876
+ key: CoinKey.USDCe,
877
+ name: CoinKey.USDCe,
878
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
879
+ verified: true,
880
+ chains: {
881
+ [ChainId.ARB]: {
882
+ address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
883
+ decimals: 6,
884
+ name: 'Bridged USD Coin',
885
+ symbol: 'USDC.e',
886
+ },
887
+ [ChainId.AVA]: {
888
+ address: '0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664',
889
+ decimals: 6,
890
+ name: 'Bridged USD Coin',
891
+ symbol: 'USDC.e',
892
+ },
893
+ },
894
+ },
895
+ // BUSD
896
+ {
897
+ key: CoinKey.BUSD,
898
+ name: CoinKey.BUSD,
899
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/binance/assets/BUSD-BD1/logo.png',
900
+ verified: true,
901
+ chains: {
902
+ [ChainId.ETH]: {
903
+ address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53',
904
+ decimals: 18,
905
+ },
906
+ [ChainId.BSC]: {
907
+ address: '0xe9e7cea3dedca5984780bafc599bd69add087d56',
908
+ decimals: 18,
909
+ },
910
+ [ChainId.OPT]: {
911
+ address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
912
+ decimals: 18,
913
+ },
914
+ [ChainId.POL]: {
915
+ address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
916
+ decimals: 18,
917
+ },
918
+ [ChainId.AVA]: {
919
+ address: '0x9C9e5fD8bbc25984B178FdCE6117Defa39d2db39',
920
+ decimals: 18,
921
+ },
922
+ [ChainId.SOL]: {
923
+ address: '33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX',
924
+ decimals: 18,
925
+ },
926
+ [ChainId.FUS]: {
927
+ address: '0x6a5F6A8121592BeCd6747a38d67451B310F7f156',
928
+ decimals: 18,
929
+ },
930
+ [ChainId.VEL]: {
931
+ address: '0xc111c29a988ae0c0087d97b33c6e6766808a3bd3',
932
+ decimals: 18,
933
+ },
934
+ [ChainId.ONE]: {
935
+ address: '0xe176ebe47d621b984a73036b9da5d834411ef734',
936
+ decimals: 18,
937
+ },
938
+ // testnets
939
+ [ChainId.BSCT]: {
940
+ address: '0xeB3Eb991D39Dac92616da64b7c6D5af5cCFf1627',
941
+ decimals: 18,
942
+ },
943
+ [ChainId.LNAT]: {
944
+ address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
945
+ decimals: 18,
946
+ },
947
+ },
948
+ },
949
+ // TEST COIN
950
+ {
951
+ key: CoinKey.TEST,
952
+ name: CoinKey.TEST,
953
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
954
+ verified: false,
955
+ chains: {
956
+ [ChainId.GOR]: {
957
+ address: '0x8a1cad3703e0beae0e0237369b4fcd04228d1682',
958
+ decimals: 18,
959
+ },
960
+ [ChainId.MUM]: {
961
+ address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
962
+ decimals: 18,
963
+ },
964
+ [ChainId.BSCT]: {
965
+ address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
966
+ decimals: 18,
967
+ },
968
+ },
969
+ },
970
+ // Connext testnet coins
971
+ {
972
+ key: CoinKey.CXTT,
973
+ name: CoinKey.CXTT,
974
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
975
+ verified: false,
976
+ chains: {
977
+ [ChainId.GOR]: {
978
+ address: '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1',
979
+ name: 'Goerli CXTT',
980
+ decimals: 18,
981
+ },
982
+ [ChainId.LNAT]: {
983
+ address: '0xb706319d37b945727e71ae0d4353699d19112576',
984
+ decimals: 18,
985
+ },
986
+ [ChainId.MUM]: {
987
+ address: '0xeDb95D8037f769B72AAab41deeC92903A98C9E16',
988
+ decimals: 18,
989
+ },
990
+ [ChainId.ARBG]: {
991
+ address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
992
+ decimals: 18,
993
+ },
994
+ [ChainId.OPTG]: {
995
+ address: '0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF',
996
+ decimals: 18,
997
+ },
998
+ },
999
+ },
1000
+ // > WBTC
1001
+ {
1002
+ key: CoinKey.WBTC,
1003
+ name: CoinKey.WBTC,
1004
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
1005
+ verified: true,
1006
+ chains: {
1007
+ [ChainId.ETH]: {
1008
+ address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599',
1009
+ decimals: 8,
1010
+ },
1011
+ [ChainId.SOL]: {
1012
+ address: 'qfnqNqs3nCAHjnyCgLRDbBtq4p2MtHZxw8YjSyYhPoL',
1013
+ decimals: 8,
1014
+ name: 'Wrapped BTC (Wormhole)',
1015
+ },
1016
+ [ChainId.POL]: {
1017
+ address: '0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6',
1018
+ decimals: 8,
1019
+ },
1020
+ [ChainId.DAI]: {
1021
+ address: '0x8e5bbbb09ed1ebde8674cda39a0c169401db4252',
1022
+ decimals: 8,
1023
+ },
1024
+ [ChainId.FTM]: {
1025
+ address: '0x321162cd933e2be498cd2267a90534a804051b11',
1026
+ decimals: 8,
1027
+ },
1028
+ [ChainId.OPT]: {
1029
+ address: '0x68f180fcce6836688e9084f035309e29bf0a2095',
1030
+ decimals: 8,
1031
+ },
1032
+ [ChainId.AVA]: {
1033
+ address: '0x50b7545627a5162f82a992c33b87adc75187b218',
1034
+ decimals: 8,
1035
+ },
1036
+ [ChainId.ARB]: {
1037
+ address: '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f',
1038
+ decimals: 8,
1039
+ },
1040
+ [ChainId.ONE]: {
1041
+ address: '0x3095c7557bcb296ccc6e363de01b760ba031f2d9',
1042
+ decimals: 8,
1043
+ },
1044
+ [ChainId.MOR]: {
1045
+ address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
1046
+ decimals: 8,
1047
+ },
1048
+ [ChainId.OKT]: {
1049
+ address: '0x506f731f7656e2fb34b587b912808f2a7ab640bd',
1050
+ decimals: 18,
1051
+ },
1052
+ [ChainId.CRO]: {
1053
+ address: '0x062e66477faf219f25d27dced647bf57c3107d52',
1054
+ decimals: 8,
1055
+ },
1056
+ [ChainId.FUS]: {
1057
+ address: '0x33284f95ccb7b948d9d352e1439561cf83d8d00d',
1058
+ decimals: 8,
1059
+ },
1060
+ [ChainId.CEL]: {
1061
+ address: '0xbaab46e28388d2779e6e31fd00cf0e5ad95e327b',
1062
+ decimals: 8,
1063
+ },
1064
+ [ChainId.MOO]: {
1065
+ address: '0x922d641a426dcffaef11680e5358f34d97d112e1',
1066
+ decimals: 8,
1067
+ },
1068
+ [ChainId.BOB]: {
1069
+ address: '0xdc0486f8bf31df57a952bcd3c1d3e166e3d9ec8b',
1070
+ decimals: 8,
1071
+ },
1072
+ [ChainId.EVM]: {
1073
+ address: '0xF80699Dc594e00aE7bA200c7533a07C1604A106D',
1074
+ decimals: 8,
1075
+ },
1076
+ [ChainId.AUR]: {
1077
+ address: '0xF4eB217Ba2454613b15dBdea6e5f22276410e89e',
1078
+ decimals: 8,
1079
+ },
1080
+ },
1081
+ },
1082
+ // > WETH
1083
+ {
1084
+ key: CoinKey.WETH,
1085
+ name: CoinKey.WETH,
1086
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
1087
+ verified: true,
1088
+ chains: {
1089
+ [ChainId.ETH]: {
1090
+ address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
1091
+ decimals: 18,
1092
+ },
1093
+ [ChainId.SOL]: {
1094
+ address: 'AaAEw2VCw1XzgvKB8Rj2DyK2ZVau9fbt2bE8hZFWsMyE',
1095
+ decimals: 9,
1096
+ name: 'Allbridge from Ethereum',
1097
+ },
1098
+ [ChainId.BSC]: {
1099
+ address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
1100
+ decimals: 18,
1101
+ },
1102
+ [ChainId.DAI]: {
1103
+ address: '0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1',
1104
+ decimals: 18,
1105
+ symbol: 'WETH',
1106
+ name: 'Wrapped Ether',
1107
+ },
1108
+ [ChainId.POL]: {
1109
+ address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
1110
+ decimals: 18,
1111
+ symbol: 'WETH',
1112
+ name: 'Wrapped Ether',
1113
+ },
1114
+ [ChainId.FTM]: {
1115
+ address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
1116
+ decimals: 18,
1117
+ },
1118
+ [ChainId.AVA]: {
1119
+ address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
1120
+ decimals: 18,
1121
+ symbol: 'WETH.e',
1122
+ name: 'Wrapped Ether',
1123
+ },
1124
+ [ChainId.ARB]: {
1125
+ address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
1126
+ decimals: 18,
1127
+ },
1128
+ [ChainId.OPT]: {
1129
+ address: '0x4200000000000000000000000000000000000006',
1130
+ decimals: 18,
1131
+ },
1132
+ [ChainId.MOR]: {
1133
+ address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
1134
+ decimals: 18,
1135
+ },
1136
+ [ChainId.HEC]: {
1137
+ address: '0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c',
1138
+ decimals: 18,
1139
+ },
1140
+ [ChainId.CRO]: {
1141
+ address: '0xe44fd7fcb2b1581822d0c862b68222998a0c299a',
1142
+ decimals: 18,
1143
+ },
1144
+ [ChainId.FUS]: {
1145
+ address: '0xa722c13135930332eb3d749b2f0906559d2c5b99',
1146
+ decimals: 18,
1147
+ },
1148
+ [ChainId.CEL]: {
1149
+ address: '0x122013fd7df1c6f636a5bb8f03108e876548b455',
1150
+ decimals: 18,
1151
+ },
1152
+ [ChainId.MOO]: {
1153
+ address: '0xfA9343C3897324496A05fC75abeD6bAC29f8A40f',
1154
+ decimals: 18,
1155
+ },
1156
+ [ChainId.BOB]: {
1157
+ address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
1158
+ decimals: 18,
1159
+ },
1160
+ [ChainId.EVM]: {
1161
+ address: '0x5842C5532b61aCF3227679a8b1BD0242a41752f2',
1162
+ decimals: 18,
1163
+ },
1164
+ [ChainId.AUR]: {
1165
+ address: '0xC9BdeEd33CD01541e1eeD10f90519d2C06Fe3feB',
1166
+ decimals: 18,
1167
+ },
1168
+ // Testnets
1169
+ [ChainId.GOR]: {
1170
+ address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1171
+ decimals: 18,
1172
+ },
1173
+ [ChainId.MUM]: {
1174
+ address: '0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa',
1175
+ decimals: 18,
1176
+ },
1177
+ [ChainId.OPTG]: {
1178
+ address: '0x4200000000000000000000000000000000000006',
1179
+ decimals: 18,
1180
+ },
1181
+ [ChainId.LNAT]: {
1182
+ address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
1183
+ decimals: 18,
1184
+ },
1185
+ },
1186
+ },
1187
+ // > SUSHI
1188
+ {
1189
+ key: CoinKey.SUSHI,
1190
+ name: CoinKey.SUSHI,
1191
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
1192
+ verified: true,
1193
+ chains: {
1194
+ [ChainId.ETH]: {
1195
+ address: '0x6b3595068778dd592e39a122f4f5a5cf09c90fe2',
1196
+ decimals: 18,
1197
+ },
1198
+ [ChainId.SOL]: {
1199
+ address: 'ChVzxWRmrTeSgwd3Ui3UumcN8KX7VK3WaD4KGeSKpypj',
1200
+ decimals: 8,
1201
+ },
1202
+ [ChainId.POL]: {
1203
+ address: '0x0b3f868e0be5597d5db7feb59e1cadbb0fdda50a',
1204
+ decimals: 18,
1205
+ },
1206
+ [ChainId.BSC]: {
1207
+ address: '0x947950bcc74888a40ffa2593c5798f11fc9124c4',
1208
+ decimals: 18,
1209
+ },
1210
+ [ChainId.DAI]: {
1211
+ address: '0x2995d1317dcd4f0ab89f4ae60f3f020a4f17c7ce',
1212
+ decimals: 18,
1213
+ },
1214
+ [ChainId.FTM]: {
1215
+ address: '0xae75a438b2e0cb8bb01ec1e1e376de11d44477cc',
1216
+ decimals: 18,
1217
+ },
1218
+ [ChainId.AVA]: {
1219
+ // guessed from debank api
1220
+ address: '0x37b608519f91f70f2eeb0e5ed9af4061722e4f76',
1221
+ decimals: 18,
1222
+ },
1223
+ [ChainId.ARB]: {
1224
+ address: '0xd4d42f0b6def4ce0383636770ef773390d85c61a',
1225
+ decimals: 18,
1226
+ },
1227
+ [ChainId.ONE]: {
1228
+ address: '0xbec775cb42abfa4288de81f387a9b1a3c4bc552a',
1229
+ decimals: 18,
1230
+ },
1231
+ [ChainId.MOR]: {
1232
+ address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
1233
+ decimals: 18,
1234
+ },
1235
+ [ChainId.OKT]: {
1236
+ address: '0x2218e0d5e0173769f5b4939a3ae423f7e5e4eab7',
1237
+ decimals: 18,
1238
+ },
1239
+ [ChainId.HEC]: {
1240
+ address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
1241
+ decimals: 18,
1242
+ },
1243
+ [ChainId.FUS]: {
1244
+ address: '0x90708b20ccc1eb95a4fa7c8b18fd2c22a0ff9e78',
1245
+ decimals: 18,
1246
+ },
1247
+ [ChainId.CEL]: {
1248
+ address: '0x29dfce9c22003a4999930382fd00f9fd6133acd1',
1249
+ decimals: 18,
1250
+ },
1251
+ },
1252
+ },
1253
+ // used by cBridge v1:
1254
+ // > DODO
1255
+ {
1256
+ key: CoinKey.DODO,
1257
+ name: CoinKey.DODO,
1258
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x43Dfc4159D86F3A37A5A4B3D4580b888ad7d4DDd/logo.png',
1259
+ verified: true,
1260
+ chains: {
1261
+ [ChainId.ETH]: {
1262
+ address: '0x43dfc4159d86f3a37a5a4b3d4580b888ad7d4ddd',
1263
+ decimals: 18,
1264
+ },
1265
+ [ChainId.BSC]: {
1266
+ address: '0x67ee3cb086f8a16f34bee3ca72fad36f7db929e2',
1267
+ decimals: 18,
1268
+ },
1269
+ [ChainId.ARB]: {
1270
+ address: '0x69eb4fa4a2fbd498c257c57ea8b7655a2559a581',
1271
+ decimals: 18,
1272
+ },
1273
+ },
1274
+ },
1275
+ // > MCB
1276
+ {
1277
+ key: CoinKey.MCB,
1278
+ name: CoinKey.MCB,
1279
+ logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x4e352cF164E64ADCBad318C3a1e222E9EBa4Ce42/logo.png',
1280
+ verified: true,
1281
+ chains: {
1282
+ [ChainId.ETH]: {
1283
+ address: '0x4e352cf164e64adcbad318c3a1e222e9eba4ce42',
1284
+ decimals: 18,
1285
+ },
1286
+ [ChainId.ARB]: {
1287
+ address: '0x4e352cf164e64adcbad318c3a1e222e9eba4ce42',
1288
+ decimals: 18,
1289
+ },
1290
+ },
1291
+ },
1292
+ // > CELR
1293
+ {
1294
+ key: CoinKey.CELR,
1295
+ name: CoinKey.CELR,
1296
+ logoURI: 'https://static.debank.com/image/bsc_token/logo_url/0x1f9f6a696c6fd109cd3956f45dc709d2b3902163/1eb9c8f251098ea22a2cb30a877da86a.png',
1297
+ verified: true,
1298
+ chains: {
1299
+ [ChainId.ETH]: {
1300
+ address: '0x4f9254c83eb525f9fcf346490bbb3ed28a81c667',
1301
+ decimals: 18,
1302
+ },
1303
+ [ChainId.BSC]: {
1304
+ address: '0x1f9f6a696c6fd109cd3956f45dc709d2b3902163',
1305
+ decimals: 18,
1306
+ },
1307
+ [ChainId.ARB]: {
1308
+ address: '0x3a8b787f78d775aecfeea15706d4221b40f345ab',
1309
+ decimals: 18,
1310
+ },
1311
+ },
1312
+ },
1313
+ // > IF
1314
+ {
1315
+ key: CoinKey.IF,
1316
+ name: CoinKey.IF,
1317
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/10932.png',
1318
+ verified: true,
1319
+ chains: {
1320
+ [ChainId.ETH]: {
1321
+ address: '0xb0e1fc65c1a741b4662b813eb787d369b8614af1',
1322
+ decimals: 18,
1323
+ },
1324
+ [ChainId.BSC]: {
1325
+ address: '0xb0e1fc65c1a741b4662b813eb787d369b8614af1',
1326
+ decimals: 18,
1327
+ },
1328
+ },
1329
+ },
1330
+ // > CRO
1331
+ {
1332
+ key: CoinKey.CRO,
1333
+ name: CoinKey.CRO,
1334
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/3635.png',
1335
+ verified: true,
1336
+ chains: {
1337
+ [ChainId.CRO]: {
1338
+ address: '0x0000000000000000000000000000000000000000',
1339
+ decimals: 18,
1340
+ },
1341
+ },
1342
+ },
1343
+ // > FUS
1344
+ {
1345
+ key: CoinKey.FUSE,
1346
+ name: CoinKey.FUSE,
1347
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5634.png',
1348
+ verified: true,
1349
+ chains: {
1350
+ [ChainId.FUS]: {
1351
+ address: '0x0000000000000000000000000000000000000000',
1352
+ decimals: 18,
1353
+ },
1354
+ },
1355
+ },
1356
+ // > CEL
1357
+ {
1358
+ key: CoinKey.CELO,
1359
+ name: CoinKey.CELO,
1360
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
1361
+ verified: true,
1362
+ chains: {
1363
+ [ChainId.CEL]: {
1364
+ // The CELO token is not a native token (0x000...).
1365
+ // Instead it is this ERC20 token: https://explorer.celo.org/token/0x471EcE3750Da237f93B8E339c536989b8978a438
1366
+ address: '0x471ece3750da237f93b8e339c536989b8978a438',
1367
+ decimals: 18,
1368
+ },
1369
+ [ChainId.SOL]: {
1370
+ address: 'GNCjk3FmPPgZTkbQRSxr6nCvLtYMbXKMnRxg8BgJs62e',
1371
+ decimals: 9,
1372
+ name: 'Allbridge from Celo',
1373
+ },
1374
+ },
1375
+ },
1376
+ // > GLMR
1377
+ {
1378
+ key: CoinKey.GLMR,
1379
+ name: CoinKey.GLMR,
1380
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/6836.png',
1381
+ verified: true,
1382
+ chains: {
1383
+ [ChainId.MOO]: {
1384
+ address: '0x0000000000000000000000000000000000000000',
1385
+ decimals: 18,
1386
+ },
1387
+ },
1388
+ },
1389
+ // > METIS
1390
+ {
1391
+ key: CoinKey.METIS,
1392
+ name: CoinKey.METIS,
1393
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
1394
+ verified: true,
1395
+ chains: {
1396
+ [ChainId.MAM]: {
1397
+ address: '0x0000000000000000000000000000000000000000',
1398
+ decimals: 18,
1399
+ },
1400
+ },
1401
+ },
1402
+ // > EVM
1403
+ {
1404
+ key: CoinKey.EVM,
1405
+ name: 'EVMOS',
1406
+ logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
1407
+ verified: true,
1408
+ chains: {
1409
+ [ChainId.EVM]: {
1410
+ address: '0x0000000000000000000000000000000000000000',
1411
+ decimals: 18,
1412
+ symbol: 'EVMOS',
1413
+ name: 'EVMOS',
1414
+ },
1415
+ },
1416
+ },
1417
+ // > VEL
1418
+ {
1419
+ key: CoinKey.VLX,
1420
+ name: 'Velas',
1421
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1422
+ verified: true,
1423
+ chains: {
1424
+ [ChainId.VEL]: {
1425
+ address: '0x0000000000000000000000000000000000000000',
1426
+ decimals: 18,
1427
+ },
1428
+ },
1429
+ },
1430
+ // > Solana
1431
+ {
1432
+ key: CoinKey.SOL,
1433
+ name: CoinKey.SOL,
1434
+ logoURI: 'https://assets.coingecko.com/coins/images/4128/small/solana.png',
1435
+ verified: true,
1436
+ chains: {
1437
+ [ChainId.SOL]: {
1438
+ address: 'So11111111111111111111111111111111111111112',
1439
+ decimals: 9,
1440
+ name: 'Wrapped SOL',
1441
+ },
1442
+ [ChainId.ETH]: {
1443
+ address: '0xD31a59c85aE9D8edEFeC411D448f90841571b89c',
1444
+ decimals: 9,
1445
+ name: 'Wrapped SOL (Wormhole)',
1446
+ },
1447
+ [ChainId.POL]: {
1448
+ address: '0xd93f7E271cB87c23AaA73edC008A79646d1F9912',
1449
+ decimals: 9,
1450
+ name: 'Wrapped SOL (Wormhole)',
1451
+ },
1452
+ [ChainId.FTM]: {
1453
+ address: '0xd99021C2A33e4Cf243010539c9e9b7c52E0236c1',
1454
+ decimals: 9,
1455
+ name: 'Token Wrapped SOL (Wormhole)',
1456
+ },
1457
+ [ChainId.AVA]: {
1458
+ address: '0xFE6B19286885a4F7F55AdAD09C3Cd1f906D2478F',
1459
+ decimals: 9,
1460
+ symbol: 'WSOL',
1461
+ name: 'Wrapped SOL (Wormhole)',
1462
+ },
1463
+ [ChainId.AUR]: {
1464
+ address: '0x3370C8961A1697F22B49c99669C1d98fE63d031D',
1465
+ decimals: 9,
1466
+ symbol: 'WSOL',
1467
+ name: 'Token Wrapped SOL (Wormhole)',
1468
+ },
1469
+ [ChainId.CEL]: {
1470
+ address: '0x4581E64115d46CcdeE65Be2336bEc86c9BA54C01',
1471
+ decimals: 9,
1472
+ symbol: 'WSOL',
1473
+ name: 'Token Wrapped SOL (Wormhole)',
1474
+ },
1475
+ },
1476
+ },
1477
+ ];
1478
+ export const defaultCoins = basicCoins.map((coin) => {
1479
+ var _a, _b, _c;
1480
+ const defaultCoin = {
1481
+ key: coin.key,
1482
+ name: coin.name,
1483
+ logoURI: coin.logoURI,
1484
+ verified: coin.verified,
1485
+ chains: {},
1486
+ };
1487
+ for (const [chainId, token] of Object.entries(coin.chains)) {
1488
+ defaultCoin.chains[chainId] = {
1489
+ address: token.address.toLowerCase(),
1490
+ decimals: token.decimals,
1491
+ symbol: (_a = token.symbol) !== null && _a !== void 0 ? _a : coin.key,
1492
+ chainId: parseInt(chainId),
1493
+ coinKey: coin.key,
1494
+ name: (_c = (_b = token.name) !== null && _b !== void 0 ? _b : coin.name) !== null && _c !== void 0 ? _c : coin.key,
1495
+ logoURI: coin.logoURI,
1496
+ };
1497
+ }
1498
+ return defaultCoin;
1499
+ });
1500
+ // Wrapped version of gas on chain
1501
+ export const wrappedTokens = {
1502
+ [ChainId.ETH]: {
1503
+ // https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1504
+ address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
1505
+ symbol: 'WETH',
1506
+ decimals: 18,
1507
+ chainId: ChainId.ETH,
1508
+ coinKey: CoinKey.WETH,
1509
+ name: 'WETH',
1510
+ logoURI: 'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
1511
+ },
1512
+ [ChainId.SOL]: {
1513
+ address: 'So11111111111111111111111111111111111111112',
1514
+ symbol: 'SOL',
1515
+ decimals: 9,
1516
+ chainId: ChainId.SOL,
1517
+ coinKey: CoinKey.SOL,
1518
+ name: 'Wrapped SOL',
1519
+ logoURI: 'https://assets.coingecko.com/coins/images/4128/small/solana.png',
1520
+ },
1521
+ [ChainId.BSC]: {
1522
+ // https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
1523
+ address: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
1524
+ symbol: 'WBNB',
1525
+ decimals: 18,
1526
+ chainId: ChainId.BSC,
1527
+ coinKey: 'WBNB',
1528
+ name: 'WBNB',
1529
+ logoURI: 'https://static.debank.com/image/coin/logo_url/bnb/9784283a36f23a58982fc964574ea530.png',
1530
+ },
1531
+ [ChainId.POL]: {
1532
+ // https://polygonscan.com/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
1533
+ address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
1534
+ symbol: 'WMATIC',
1535
+ decimals: 18,
1536
+ chainId: ChainId.POL,
1537
+ coinKey: 'WMATIC',
1538
+ name: 'WMATIC',
1539
+ logoURI: 'https://static.debank.com/image/matic_token/logo_url/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/f6e604ba0324726a3d687c618aa4f163.png',
1540
+ },
1541
+ [ChainId.DAI]: {
1542
+ // https://blockscout.com/xdai/mainnet/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
1543
+ address: '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d',
1544
+ symbol: 'WXDAI',
1545
+ decimals: 18,
1546
+ chainId: ChainId.DAI,
1547
+ coinKey: 'WXDAI',
1548
+ name: 'WXDAI',
1549
+ logoURI: 'https://static.debank.com/image/xdai_token/logo_url/0xe91d153e0b41518a2ce8dd3d7944fa863463a97d/3fedab836c5425fc3fc2eb542c34c81a.png',
1550
+ },
1551
+ [ChainId.OPT]: {
1552
+ // https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
1553
+ address: '0x4200000000000000000000000000000000000006',
1554
+ symbol: 'WETH',
1555
+ decimals: 18,
1556
+ chainId: ChainId.OPT,
1557
+ coinKey: CoinKey.WETH,
1558
+ name: 'Wrapped ETH',
1559
+ logoURI: 'https://static.debank.com/image/op_token/logo_url/0x4200000000000000000000000000000000000006/61844453e63cf81301f845d7864236f6.png',
1560
+ },
1561
+ [ChainId.ERA]: {
1562
+ // https://explorer.zksync.io/address/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91
1563
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
1564
+ symbol: 'WETH',
1565
+ decimals: 18,
1566
+ chainId: ChainId.ERA,
1567
+ coinKey: CoinKey.WETH,
1568
+ name: 'Wrapped Ether',
1569
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1570
+ },
1571
+ [ChainId.PZE]: {
1572
+ // https://zkevm.polygonscan.com/token/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9
1573
+ address: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9',
1574
+ symbol: 'WETH',
1575
+ decimals: 18,
1576
+ chainId: ChainId.PZE,
1577
+ coinKey: CoinKey.WETH,
1578
+ name: 'Wrapped Ether',
1579
+ logoURI: 'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
1580
+ },
1581
+ [ChainId.FTM]: {
1582
+ //
1583
+ address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
1584
+ symbol: 'wFTM',
1585
+ decimals: 18,
1586
+ chainId: ChainId.FTM,
1587
+ coinKey: 'wFTM',
1588
+ name: 'wFTM',
1589
+ logoURI: 'https://static.debank.com/image/ftm_token/logo_url/0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83/2b7d91858f9c62aafc8d7778b9c22f57.png',
1590
+ },
1591
+ [ChainId.ONE]: {
1592
+ address: '0xcf664087a5bb0237a0bad6742852ec6c8d69a27a',
1593
+ symbol: 'WONE',
1594
+ decimals: 18,
1595
+ chainId: ChainId.ONE,
1596
+ coinKey: 'WONE',
1597
+ name: 'WRAPPED ONE',
1598
+ logoURI: 'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
1599
+ },
1600
+ [ChainId.AVA]: {
1601
+ address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
1602
+ symbol: 'WAVAX',
1603
+ decimals: 18,
1604
+ chainId: ChainId.AVA,
1605
+ coinKey: 'WAVAX',
1606
+ name: 'Wrapped AVAX',
1607
+ logoURI: 'https://static.debank.com/image/avax_token/logo_url/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7/753d82f0137617110f8dec56309b4065.png',
1608
+ },
1609
+ [ChainId.ARB]: {
1610
+ address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
1611
+ symbol: 'WETH',
1612
+ decimals: 18,
1613
+ chainId: ChainId.ARB,
1614
+ coinKey: CoinKey.WETH,
1615
+ name: 'WETH',
1616
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1617
+ },
1618
+ [ChainId.MOR]: {
1619
+ address: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
1620
+ symbol: 'WMOVR',
1621
+ decimals: 18,
1622
+ chainId: ChainId.MOR,
1623
+ coinKey: 'WMOVR',
1624
+ name: 'WMOVR',
1625
+ logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
1626
+ },
1627
+ [ChainId.OKT]: {
1628
+ address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
1629
+ symbol: 'wOKT',
1630
+ decimals: 18,
1631
+ chainId: ChainId.OKT,
1632
+ coinKey: 'wOKT',
1633
+ name: 'wOKT',
1634
+ logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
1635
+ },
1636
+ [ChainId.HEC]: {
1637
+ address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
1638
+ symbol: 'wHT',
1639
+ decimals: 18,
1640
+ chainId: ChainId.HEC,
1641
+ coinKey: 'wHT',
1642
+ name: 'wHT',
1643
+ logoURI: 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
1644
+ },
1645
+ [ChainId.CRO]: {
1646
+ address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
1647
+ symbol: 'WCRO',
1648
+ decimals: 18,
1649
+ chainId: ChainId.CRO,
1650
+ coinKey: 'WCRO',
1651
+ name: 'WCRO',
1652
+ logoURI: 'https://raw.githubusercontent.com/cronaswap/default-token-list/main/assets/tokens/cronos/0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23/logo.png',
1653
+ },
1654
+ [ChainId.FUS]: {
1655
+ address: '0x0be9e53fd7edac9f859882afdda116645287c629',
1656
+ symbol: 'WFUSE',
1657
+ decimals: 18,
1658
+ chainId: ChainId.FUS,
1659
+ coinKey: 'WFUSE',
1660
+ name: 'Wrapped Fuse',
1661
+ logoURI: 'https://fuselogo.s3.eu-central-1.amazonaws.com/wfuse.png',
1662
+ },
1663
+ [ChainId.MOO]: {
1664
+ address: '0xacc15dc74880c9944775448304b263d191c6077f',
1665
+ symbol: 'WGLMR',
1666
+ decimals: 18,
1667
+ chainId: ChainId.MOO,
1668
+ coinKey: 'WGLMR',
1669
+ name: 'Wrapped GLMR',
1670
+ logoURI: 'https://static.debank.com/image/mobm_token/logo_url/0xacc15dc74880c9944775448304b263d191c6077f/a8442077d76b258297181c3e6eb8c9cc.png',
1671
+ },
1672
+ [ChainId.MAM]: {
1673
+ address: '0x75cb093E4D61d2A2e65D8e0BBb01DE8d89b53481',
1674
+ symbol: 'WMETIS',
1675
+ decimals: 18,
1676
+ chainId: ChainId.MAM,
1677
+ coinKey: 'WMETIS',
1678
+ name: 'Wrapped Metis',
1679
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
1680
+ },
1681
+ [ChainId.BOB]: {
1682
+ address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
1683
+ symbol: 'WETH',
1684
+ decimals: 18,
1685
+ chainId: ChainId.BOB,
1686
+ coinKey: CoinKey.WETH,
1687
+ name: 'Wrapped ETH',
1688
+ logoURI: 'https://static.debank.com/image/boba_token/logo_url/0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000/b1947b38a90e559eb950453965714be4.png',
1689
+ },
1690
+ [ChainId.CEL]: {
1691
+ address: '0x471ece3750da237f93b8e339c536989b8978a438',
1692
+ symbol: 'CELO',
1693
+ decimals: 18,
1694
+ chainId: ChainId.CEL,
1695
+ coinKey: CoinKey.CELO,
1696
+ name: 'Celo native asset',
1697
+ logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
1698
+ },
1699
+ [ChainId.EVM]: {
1700
+ address: '0xd4949664cd82660aae99bedc034a0dea8a0bd517',
1701
+ symbol: 'WEVMOS',
1702
+ decimals: 18,
1703
+ chainId: ChainId.EVM,
1704
+ coinKey: 'WEVMOS',
1705
+ name: 'Wrapped Evmos',
1706
+ logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
1707
+ },
1708
+ [ChainId.AUR]: {
1709
+ address: '0x0000000000000000000000000000000000000000',
1710
+ symbol: 'AETH',
1711
+ decimals: 18,
1712
+ chainId: ChainId.AUR,
1713
+ coinKey: 'AETH',
1714
+ name: 'AETH',
1715
+ logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
1716
+ },
1717
+ [ChainId.VEL]: {
1718
+ address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
1719
+ symbol: 'WVLX',
1720
+ decimals: 18,
1721
+ chainId: ChainId.VEL,
1722
+ coinKey: 'WVLX',
1723
+ name: 'Wrapped VLX',
1724
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1725
+ },
1726
+ // Testnets
1727
+ [ChainId.GOR]: {
1728
+ // https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
1729
+ address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1730
+ symbol: 'WETH',
1731
+ decimals: 18,
1732
+ chainId: ChainId.GOR,
1733
+ coinKey: CoinKey.WETH,
1734
+ name: 'WETH',
1735
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1736
+ },
1737
+ [ChainId.MUM]: {
1738
+ // https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
1739
+ address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
1740
+ symbol: 'WMATIC',
1741
+ decimals: 18,
1742
+ chainId: ChainId.MUM,
1743
+ coinKey: 'WMATIC',
1744
+ name: 'WMATIC',
1745
+ logoURI: 'https://static.debank.com/image/matic_token/logo_url/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270/f6e604ba0324726a3d687c618aa4f163.png',
1746
+ },
1747
+ [ChainId.ONET]: {
1748
+ address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1749
+ symbol: 'WONE',
1750
+ decimals: 18,
1751
+ chainId: ChainId.ONET,
1752
+ coinKey: 'WONE',
1753
+ name: 'WRAPPED ONE',
1754
+ logoURI: 'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
1755
+ },
1756
+ [ChainId.ARBG]: {
1757
+ // https://goerli.arbiscan.io/token/0x42da9eE191833756c618778145A86E6709f70C9b
1758
+ address: '0x42da9eE191833756c618778145A86E6709f70C9b',
1759
+ symbol: 'WETH',
1760
+ decimals: 18,
1761
+ chainId: ChainId.ARBG,
1762
+ coinKey: CoinKey.WETH,
1763
+ name: 'WETH',
1764
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1765
+ },
1766
+ [ChainId.OPTG]: {
1767
+ // https://blockscout.com/optimism/goerli/address/0x4200000000000000000000000000000000000006
1768
+ address: '0x4200000000000000000000000000000000000006',
1769
+ symbol: 'WETH',
1770
+ decimals: 18,
1771
+ chainId: ChainId.OPTG,
1772
+ coinKey: CoinKey.WETH,
1773
+ name: 'WETH',
1774
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1775
+ },
1776
+ [ChainId.BSCT]: {
1777
+ // https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
1778
+ address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
1779
+ symbol: 'WBNB',
1780
+ decimals: 18,
1781
+ chainId: ChainId.BSCT,
1782
+ coinKey: 'WBNB',
1783
+ name: 'WBNB',
1784
+ logoURI: 'https://static.debank.com/image/coin/logo_url/bnb/9784283a36f23a58982fc964574ea530.png',
1785
+ },
1786
+ [ChainId.LNAT]: {
1787
+ // https://explorer.prealpha.zkevm.consensys.net/address/0x2C1b868d6596a18e32E61B901E4060C872647b6C
1788
+ address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
1789
+ symbol: 'WETH',
1790
+ decimals: 18,
1791
+ chainId: ChainId.LNAT,
1792
+ coinKey: CoinKey.WETH,
1793
+ name: 'WETH',
1794
+ logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
1795
+ },
1796
+ [ChainId.AVAT]: {
1797
+ // https://testnet.snowtrace.io/token/0xd00ae08403B9bbb9124bB305C09058E32C39A48c
1798
+ address: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c',
1799
+ symbol: 'WAVAX',
1800
+ decimals: 18,
1801
+ chainId: ChainId.AVA,
1802
+ coinKey: 'WAVAX',
1803
+ name: 'Wrapped AVAX',
1804
+ logoURI: 'https://static.debank.com/image/avax_token/logo_url/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7/753d82f0137617110f8dec56309b4065.png',
1805
+ },
1806
+ };
1807
+ export const findDefaultCoin = (coinKey) => {
1808
+ const coin = defaultCoins.find((coin) => coin.key === coinKey);
1809
+ if (!coin) {
1810
+ throw new Error('Invalid Coin');
1811
+ }
1812
+ return coin;
1813
+ };
1814
+ export const findDefaultToken = (coinKey, chainId) => {
1815
+ const coin = findDefaultCoin(coinKey);
1816
+ const token = coin.chains[chainId];
1817
+ if (!token) {
1818
+ throw new Error(`Invalid chain ${chainId} to coin ${coinKey}`);
1819
+ }
1820
+ return token;
1821
+ };
1822
+ export const findWrappedGasOnChain = (chainId) => {
1823
+ const token = wrappedTokens[chainId];
1824
+ if (!token) {
1825
+ throw new Error(`Wrapped Gas Token not defined for chain ${chainId}.`);
1826
+ }
1827
+ return token;
1828
+ };
1829
+ export const findTokenByChainIdAndAddress = (chainId, tokenAddress) => {
1830
+ var _a;
1831
+ return ((_a = defaultCoins
1832
+ .flatMap(({ chains }) => Object.values(chains))
1833
+ .find((token) => token.chainId === chainId &&
1834
+ tokenAddress.toLowerCase() === token.address.toLowerCase())) !== null && _a !== void 0 ? _a : null);
1835
+ };