@lifi/data-types 1.0.0-alpha.0

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