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