@lifi/types 9.0.0-alpha.0 → 9.0.0-alpha.2

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