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