@lifi/types 8.3.0 → 9.0.0-alpha.1

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