@lifi/types 1.5.0 → 1.5.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 (47) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/api.js +6 -15
  3. package/dist/apiErrors.js +1 -2
  4. package/dist/base.js +6 -9
  5. package/dist/bridges.js +3 -6
  6. package/dist/chains/Chain.js +2 -5
  7. package/dist/chains/EVMChain.js +3 -7
  8. package/dist/chains/SolanaChain.js +1 -2
  9. package/dist/chains/chain.utils.js +10 -20
  10. package/dist/chains/index.js +5 -21
  11. package/dist/chains/supported.chains.js +250 -253
  12. package/dist/cjs/api.d.ts +218 -0
  13. package/dist/cjs/api.js +46 -0
  14. package/dist/cjs/apiErrors.d.ts +9 -0
  15. package/dist/cjs/apiErrors.js +2 -0
  16. package/dist/cjs/base.d.ts +204 -0
  17. package/dist/cjs/base.js +174 -0
  18. package/dist/cjs/bridges.d.ts +34 -0
  19. package/dist/cjs/bridges.js +170 -0
  20. package/dist/cjs/chains/Chain.d.ts +15 -0
  21. package/dist/cjs/chains/Chain.js +8 -0
  22. package/dist/cjs/chains/EVMChain.d.ts +19 -0
  23. package/dist/cjs/chains/EVMChain.js +8 -0
  24. package/dist/cjs/chains/SolanaChain.d.ts +2 -0
  25. package/dist/cjs/chains/SolanaChain.js +2 -0
  26. package/dist/cjs/chains/chain.utils.d.ts +4 -0
  27. package/dist/cjs/chains/chain.utils.js +25 -0
  28. package/dist/cjs/chains/index.d.ts +5 -0
  29. package/dist/cjs/chains/index.js +21 -0
  30. package/dist/cjs/chains/supported.chains.d.ts +5 -0
  31. package/dist/cjs/chains/supported.chains.js +1172 -0
  32. package/dist/cjs/coins.d.ts +9 -0
  33. package/dist/cjs/coins.js +1403 -0
  34. package/dist/cjs/exchanges.d.ts +51 -0
  35. package/dist/cjs/exchanges.js +1047 -0
  36. package/dist/cjs/index.d.ts +8 -0
  37. package/dist/cjs/index.js +24 -0
  38. package/dist/cjs/multicall.d.ts +3 -0
  39. package/dist/cjs/multicall.js +66 -0
  40. package/dist/cjs/step.d.ts +115 -0
  41. package/dist/cjs/step.js +23 -0
  42. package/dist/coins.js +384 -391
  43. package/dist/exchanges.js +210 -214
  44. package/dist/index.js +8 -24
  45. package/dist/multicall.js +43 -41
  46. package/dist/step.js +5 -12
  47. package/package.json +26 -3
@@ -1,30 +1,27 @@
1
- "use strict";
2
1
  /*
3
2
  This file is for legacy compatibility only.
4
3
  Data regarding supported chains *should* be fetched from the API.
5
4
  This file is only used to provide legacy compatibility for existing tools.
6
5
  */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.supportedChains = exports.supportedSolanaChains = exports.supportedEVMChains = void 0;
9
- var base_1 = require("../base");
10
- var multicall_1 = require("../multicall");
11
- var Chain_1 = require("./Chain");
12
- var EVMChain_1 = require("./EVMChain");
6
+ import { ChainId, ChainKey, CoinKey } from '../base';
7
+ import { multicallAddresses } from '../multicall';
8
+ import { ChainType } from './Chain';
9
+ import { prefixChainId } from './EVMChain';
13
10
  // chainNames aligned with https://github.com/ethereum-lists/chains/tree/master/_data/chains
14
- exports.supportedEVMChains = [
11
+ export const supportedEVMChains = [
15
12
  // 1 - Ethereum
16
13
  {
17
- key: base_1.ChainKey.ETH,
18
- chainType: Chain_1.ChainType.EVM,
14
+ key: ChainKey.ETH,
15
+ chainType: ChainType.EVM,
19
16
  name: 'Ethereum',
20
- coin: base_1.CoinKey.ETH,
17
+ coin: CoinKey.ETH,
21
18
  id: 1,
22
19
  mainnet: true,
23
20
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
24
21
  tokenlistUrl: 'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
25
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ETH],
22
+ multicallAddress: multicallAddresses[ChainId.ETH],
26
23
  metamask: {
27
- chainId: (0, EVMChain_1.prefixChainId)(1),
24
+ chainId: prefixChainId(1),
28
25
  blockExplorerUrls: ['https://etherscan.io/'],
29
26
  chainName: 'Ethereum Mainnet',
30
27
  nativeCurrency: {
@@ -39,19 +36,19 @@ exports.supportedEVMChains = [
39
36
  },
40
37
  // 137 - Polygon
41
38
  {
42
- key: base_1.ChainKey.POL,
43
- chainType: Chain_1.ChainType.EVM,
39
+ key: ChainKey.POL,
40
+ chainType: ChainType.EVM,
44
41
  name: 'Polygon',
45
- coin: base_1.CoinKey.MATIC,
42
+ coin: CoinKey.MATIC,
46
43
  id: 137,
47
44
  mainnet: true,
48
45
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
49
46
  tokenlistUrl: 'https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json',
50
47
  faucetUrls: ['https://stakely.io/faucet/polygon-matic'],
51
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.POL],
48
+ multicallAddress: multicallAddresses[ChainId.POL],
52
49
  // https://docs.matic.network/docs/develop/metamask/config-matic/
53
50
  metamask: {
54
- chainId: (0, EVMChain_1.prefixChainId)(137),
51
+ chainId: prefixChainId(137),
55
52
  blockExplorerUrls: [
56
53
  'https://polygonscan.com/',
57
54
  'https://explorer-mainnet.maticvigil.com/',
@@ -70,19 +67,19 @@ exports.supportedEVMChains = [
70
67
  },
71
68
  // 56 - Binance Smart Chain
72
69
  {
73
- key: base_1.ChainKey.BSC,
74
- chainType: Chain_1.ChainType.EVM,
70
+ key: ChainKey.BSC,
71
+ chainType: ChainType.EVM,
75
72
  name: 'BSC',
76
- coin: base_1.CoinKey.BNB,
73
+ coin: CoinKey.BNB,
77
74
  id: 56,
78
75
  mainnet: true,
79
76
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.svg',
80
77
  tokenlistUrl: 'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
81
78
  faucetUrls: ['https://stakely.io/faucet/bsc-chain-bnb'],
82
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BSC],
79
+ multicallAddress: multicallAddresses[ChainId.BSC],
83
80
  // https://docs.binance.org/smart-chain/wallet/metamask.html
84
81
  metamask: {
85
- chainId: (0, EVMChain_1.prefixChainId)(56),
82
+ chainId: prefixChainId(56),
86
83
  blockExplorerUrls: ['https://bscscan.com/'],
87
84
  chainName: 'Binance Smart Chain Mainnet',
88
85
  nativeCurrency: {
@@ -99,19 +96,19 @@ exports.supportedEVMChains = [
99
96
  },
100
97
  // 100 - Gnosis
101
98
  {
102
- key: base_1.ChainKey.DAI,
103
- chainType: Chain_1.ChainType.EVM,
99
+ key: ChainKey.DAI,
100
+ chainType: ChainType.EVM,
104
101
  name: 'Gnosis',
105
- coin: base_1.CoinKey.DAI,
102
+ coin: CoinKey.DAI,
106
103
  id: 100,
107
104
  mainnet: true,
108
105
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg',
109
106
  tokenlistUrl: 'https://tokens.honeyswap.org/',
110
107
  faucetUrls: ['https://stakely.io/faucet/xdai-chain'],
111
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.DAI],
108
+ multicallAddress: multicallAddresses[ChainId.DAI],
112
109
  // https://www.xdaichain.com/for-users/wallets/metamask/metamask-setup
113
110
  metamask: {
114
- chainId: (0, EVMChain_1.prefixChainId)(100),
111
+ chainId: prefixChainId(100),
115
112
  blockExplorerUrls: ['https://blockscout.com/xdai/mainnet/'],
116
113
  chainName: 'Gnosis Chain',
117
114
  nativeCurrency: {
@@ -128,10 +125,10 @@ exports.supportedEVMChains = [
128
125
  },
129
126
  // 250 - Fantom
130
127
  {
131
- key: base_1.ChainKey.FTM,
132
- chainType: Chain_1.ChainType.EVM,
128
+ key: ChainKey.FTM,
129
+ chainType: ChainType.EVM,
133
130
  name: 'Fantom',
134
- coin: base_1.CoinKey.FTM,
131
+ coin: CoinKey.FTM,
135
132
  id: 250,
136
133
  mainnet: true,
137
134
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.svg',
@@ -140,10 +137,10 @@ exports.supportedEVMChains = [
140
137
  'https://stakely.io/faucet/fantom-blockchain-ftm',
141
138
  'https://docs.spookyswap.finance/getting-started/how-to-get-fantom-gas',
142
139
  ],
143
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FTM],
140
+ multicallAddress: multicallAddresses[ChainId.FTM],
144
141
  // https://docs.fantom.foundation/tutorials/set-up-metamask
145
142
  metamask: {
146
- chainId: (0, EVMChain_1.prefixChainId)(250),
143
+ chainId: prefixChainId(250),
147
144
  blockExplorerUrls: ['https://ftmscan.com/'],
148
145
  chainName: 'Fantom Opera',
149
146
  nativeCurrency: {
@@ -156,18 +153,18 @@ exports.supportedEVMChains = [
156
153
  },
157
154
  // 66 - OKXChain
158
155
  {
159
- key: base_1.ChainKey.OKT,
160
- chainType: Chain_1.ChainType.EVM,
156
+ key: ChainKey.OKT,
157
+ chainType: ChainType.EVM,
161
158
  name: 'OKXChain',
162
- coin: base_1.CoinKey.OKT,
159
+ coin: CoinKey.OKT,
163
160
  id: 66,
164
161
  mainnet: true,
165
162
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.svg',
166
163
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/okex.json',
167
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OKT],
164
+ multicallAddress: multicallAddresses[ChainId.OKT],
168
165
  // https://okc-docs.readthedocs.io/en/latest/developers/quick-start-for-mainnet.html
169
166
  metamask: {
170
- chainId: (0, EVMChain_1.prefixChainId)(66),
167
+ chainId: prefixChainId(66),
171
168
  blockExplorerUrls: ['https://www.oklink.com/en/okc/'],
172
169
  chainName: 'OKXChain Mainnet',
173
170
  nativeCurrency: {
@@ -180,18 +177,18 @@ exports.supportedEVMChains = [
180
177
  },
181
178
  // 43114 - Avalanche
182
179
  {
183
- key: base_1.ChainKey.AVA,
184
- chainType: Chain_1.ChainType.EVM,
180
+ key: ChainKey.AVA,
181
+ chainType: ChainType.EVM,
185
182
  name: 'Avalanche',
186
- coin: base_1.CoinKey.AVAX,
183
+ coin: CoinKey.AVAX,
187
184
  id: 43114,
188
185
  mainnet: true,
189
186
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.svg',
190
187
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/avalanche.json',
191
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AVA],
188
+ multicallAddress: multicallAddresses[ChainId.AVA],
192
189
  // https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
193
190
  metamask: {
194
- chainId: (0, EVMChain_1.prefixChainId)(43114),
191
+ chainId: prefixChainId(43114),
195
192
  blockExplorerUrls: ['https://cchain.explorer.avax.network/'],
196
193
  chainName: 'Avalanche Mainnet',
197
194
  nativeCurrency: {
@@ -204,18 +201,18 @@ exports.supportedEVMChains = [
204
201
  },
205
202
  // 42161 - Arbitrum One
206
203
  {
207
- key: base_1.ChainKey.ARB,
208
- chainType: Chain_1.ChainType.EVM,
204
+ key: ChainKey.ARB,
205
+ chainType: ChainType.EVM,
209
206
  name: 'Arbitrum One',
210
- coin: base_1.CoinKey.ETH,
207
+ coin: CoinKey.ETH,
211
208
  id: 42161,
212
209
  mainnet: true,
213
210
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.svg',
214
211
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/arbitrum.json',
215
212
  faucetUrls: ['https://bridge.arbitrum.io/'],
216
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ARB],
213
+ multicallAddress: multicallAddresses[ChainId.ARB],
217
214
  metamask: {
218
- chainId: (0, EVMChain_1.prefixChainId)(42161),
215
+ chainId: prefixChainId(42161),
219
216
  blockExplorerUrls: ['https://arbiscan.io/'],
220
217
  chainName: 'Arbitrum One',
221
218
  nativeCurrency: {
@@ -228,17 +225,17 @@ exports.supportedEVMChains = [
228
225
  },
229
226
  // 128 - Huobi ECO Chain Mainnet
230
227
  {
231
- key: base_1.ChainKey.HEC,
232
- chainType: Chain_1.ChainType.EVM,
228
+ key: ChainKey.HEC,
229
+ chainType: ChainType.EVM,
233
230
  name: 'Huobi ECO Chain Mainnet',
234
- coin: base_1.CoinKey.HT,
231
+ coin: CoinKey.HT,
235
232
  id: 128,
236
233
  mainnet: true,
237
234
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/heco.png',
238
235
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/heco.json',
239
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.HEC],
236
+ multicallAddress: multicallAddresses[ChainId.HEC],
240
237
  metamask: {
241
- chainId: (0, EVMChain_1.prefixChainId)(128),
238
+ chainId: prefixChainId(128),
242
239
  blockExplorerUrls: ['https://hecoinfo.com/'],
243
240
  chainName: 'Huobi ECO Chain Mainnet',
244
241
  nativeCurrency: {
@@ -251,18 +248,18 @@ exports.supportedEVMChains = [
251
248
  },
252
249
  // 10 - Optimism
253
250
  {
254
- key: base_1.ChainKey.OPT,
255
- chainType: Chain_1.ChainType.EVM,
251
+ key: ChainKey.OPT,
252
+ chainType: ChainType.EVM,
256
253
  name: 'Optimism',
257
- coin: base_1.CoinKey.ETH,
254
+ coin: CoinKey.ETH,
258
255
  id: 10,
259
256
  mainnet: true,
260
257
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.svg',
261
258
  tokenlistUrl: 'https://static.optimism.io/optimism.tokenlist.json',
262
259
  faucetUrls: ['https://gateway.optimism.io/'],
263
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OPT],
260
+ multicallAddress: multicallAddresses[ChainId.OPT],
264
261
  metamask: {
265
- chainId: (0, EVMChain_1.prefixChainId)(10),
262
+ chainId: prefixChainId(10),
266
263
  blockExplorerUrls: ['https://optimistic.etherscan.io/'],
267
264
  chainName: 'Optimism',
268
265
  nativeCurrency: {
@@ -275,17 +272,17 @@ exports.supportedEVMChains = [
275
272
  },
276
273
  // 32659 - Fusion (anyswap)
277
274
  {
278
- key: base_1.ChainKey.FSN,
279
- chainType: Chain_1.ChainType.EVM,
275
+ key: ChainKey.FSN,
276
+ chainType: ChainType.EVM,
280
277
  name: 'Fusion Mainnet',
281
- coin: base_1.CoinKey.FSN,
278
+ coin: CoinKey.FSN,
282
279
  id: 32659,
283
280
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fusion.png',
284
281
  mainnet: true,
285
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FSN],
282
+ multicallAddress: multicallAddresses[ChainId.FSN],
286
283
  // https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
287
284
  metamask: {
288
- chainId: (0, EVMChain_1.prefixChainId)(32659),
285
+ chainId: prefixChainId(32659),
289
286
  blockExplorerUrls: ['https://fsnex.com/'],
290
287
  chainName: 'Fusion Mainnet',
291
288
  nativeCurrency: {
@@ -298,19 +295,19 @@ exports.supportedEVMChains = [
298
295
  },
299
296
  // 1666600000 - Harmony Mainnet Shard 0
300
297
  {
301
- key: base_1.ChainKey.ONE,
302
- chainType: Chain_1.ChainType.EVM,
298
+ key: ChainKey.ONE,
299
+ chainType: ChainType.EVM,
303
300
  name: 'Harmony',
304
- coin: base_1.CoinKey.ONE,
301
+ coin: CoinKey.ONE,
305
302
  id: 1666600000,
306
303
  mainnet: true,
307
304
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony.svg',
308
305
  tokenlistUrl: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/lists/venomswap-default.tokenlist.json',
309
306
  faucetUrls: ['https://stakely.io/faucet/harmony-one'],
310
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ONE],
307
+ multicallAddress: multicallAddresses[ChainId.ONE],
311
308
  // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
312
309
  metamask: {
313
- chainId: (0, EVMChain_1.prefixChainId)(1666600000),
310
+ chainId: prefixChainId(1666600000),
314
311
  blockExplorerUrls: ['https://explorer.harmony.one/'],
315
312
  chainName: 'Harmony Mainnet Shard 0',
316
313
  nativeCurrency: {
@@ -323,17 +320,17 @@ exports.supportedEVMChains = [
323
320
  },
324
321
  // 1285 - Moonriver
325
322
  {
326
- key: base_1.ChainKey.MOR,
327
- chainType: Chain_1.ChainType.EVM,
323
+ key: ChainKey.MOR,
324
+ chainType: ChainType.EVM,
328
325
  name: 'Moonriver',
329
- coin: base_1.CoinKey.MOVR,
326
+ coin: CoinKey.MOVR,
330
327
  id: 1285,
331
328
  mainnet: true,
332
329
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonriver.svg',
333
330
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/moonriver.json',
334
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MOR],
331
+ multicallAddress: multicallAddresses[ChainId.MOR],
335
332
  metamask: {
336
- chainId: (0, EVMChain_1.prefixChainId)(1285),
333
+ chainId: prefixChainId(1285),
337
334
  blockExplorerUrls: ['https://blockscout.moonriver.moonbeam.network/'],
338
335
  chainName: 'Moonriver',
339
336
  nativeCurrency: {
@@ -346,17 +343,17 @@ exports.supportedEVMChains = [
346
343
  },
347
344
  // 1284 Moonbeam
348
345
  {
349
- key: base_1.ChainKey.MOO,
350
- chainType: Chain_1.ChainType.EVM,
346
+ key: ChainKey.MOO,
347
+ chainType: ChainType.EVM,
351
348
  name: 'Moonbeam',
352
- coin: base_1.CoinKey.GLMR,
349
+ coin: CoinKey.GLMR,
353
350
  id: 1284,
354
351
  mainnet: true,
355
352
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonbeam.svg',
356
353
  tokenlistUrl: 'https://raw.githubusercontent.com/BeamSwap/beamswap-tokenlist/main/tokenlist.json',
357
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MOO],
354
+ multicallAddress: multicallAddresses[ChainId.MOO],
358
355
  metamask: {
359
- chainId: (0, EVMChain_1.prefixChainId)(1284),
356
+ chainId: prefixChainId(1284),
360
357
  blockExplorerUrls: ['https://blockscout.moonbeam.network/'],
361
358
  chainName: 'Moonbeam',
362
359
  nativeCurrency: {
@@ -369,16 +366,16 @@ exports.supportedEVMChains = [
369
366
  },
370
367
  // 2 - Expanse Network
371
368
  {
372
- key: base_1.ChainKey.EXP,
373
- chainType: Chain_1.ChainType.EVM,
369
+ key: ChainKey.EXP,
370
+ chainType: ChainType.EVM,
374
371
  name: 'Expanse Network',
375
- coin: base_1.CoinKey.EXP,
372
+ coin: CoinKey.EXP,
376
373
  id: 2,
377
374
  mainnet: true,
378
375
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/expanse.png',
379
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.EXP],
376
+ multicallAddress: multicallAddresses[ChainId.EXP],
380
377
  metamask: {
381
- chainId: (0, EVMChain_1.prefixChainId)(2),
378
+ chainId: prefixChainId(2),
382
379
  blockExplorerUrls: ['https://expanse.tech/'],
383
380
  chainName: 'Expanse Network',
384
381
  nativeCurrency: {
@@ -391,15 +388,15 @@ exports.supportedEVMChains = [
391
388
  },
392
389
  // 7 - ThaiChain
393
390
  {
394
- key: base_1.ChainKey.TCH,
395
- chainType: Chain_1.ChainType.EVM,
391
+ key: ChainKey.TCH,
392
+ chainType: ChainType.EVM,
396
393
  name: 'ThaiChain',
397
- coin: base_1.CoinKey.TCH,
394
+ coin: CoinKey.TCH,
398
395
  id: 7,
399
396
  mainnet: true,
400
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.TCH],
397
+ multicallAddress: multicallAddresses[ChainId.TCH],
401
398
  metamask: {
402
- chainId: (0, EVMChain_1.prefixChainId)(7),
399
+ chainId: prefixChainId(7),
403
400
  blockExplorerUrls: ['https://thaichain.io/'],
404
401
  chainName: 'ThaiChain',
405
402
  nativeCurrency: {
@@ -412,15 +409,15 @@ exports.supportedEVMChains = [
412
409
  },
413
410
  // 8 - Ubiq
414
411
  {
415
- key: base_1.ChainKey.UBQ,
416
- chainType: Chain_1.ChainType.EVM,
412
+ key: ChainKey.UBQ,
413
+ chainType: ChainType.EVM,
417
414
  name: 'Ubiq',
418
- coin: base_1.CoinKey.UBQ,
415
+ coin: CoinKey.UBQ,
419
416
  id: 8,
420
417
  mainnet: true,
421
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.UBQ],
418
+ multicallAddress: multicallAddresses[ChainId.UBQ],
422
419
  metamask: {
423
- chainId: (0, EVMChain_1.prefixChainId)(8),
420
+ chainId: prefixChainId(8),
424
421
  blockExplorerUrls: ['https://ubiqscan.io/'],
425
422
  chainName: 'Ubiq',
426
423
  nativeCurrency: {
@@ -433,15 +430,15 @@ exports.supportedEVMChains = [
433
430
  },
434
431
  // 11 - Metadium Mainnet
435
432
  {
436
- key: base_1.ChainKey.MET,
437
- chainType: Chain_1.ChainType.EVM,
433
+ key: ChainKey.MET,
434
+ chainType: ChainType.EVM,
438
435
  name: 'Metadium Mainnet',
439
- coin: base_1.CoinKey.META,
436
+ coin: CoinKey.META,
440
437
  id: 11,
441
438
  mainnet: true,
442
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MET],
439
+ multicallAddress: multicallAddresses[ChainId.MET],
443
440
  metamask: {
444
- chainId: (0, EVMChain_1.prefixChainId)(11),
441
+ chainId: prefixChainId(11),
445
442
  blockExplorerUrls: ['https://metadium.com/'],
446
443
  chainName: 'Metadium Mainnet',
447
444
  nativeCurrency: {
@@ -454,15 +451,15 @@ exports.supportedEVMChains = [
454
451
  },
455
452
  // 15 - Diode Prenet
456
453
  {
457
- key: base_1.ChainKey.DIO,
458
- chainType: Chain_1.ChainType.EVM,
454
+ key: ChainKey.DIO,
455
+ chainType: ChainType.EVM,
459
456
  name: 'DIODE',
460
- coin: base_1.CoinKey.DIODE,
457
+ coin: CoinKey.DIODE,
461
458
  id: 15,
462
459
  mainnet: true,
463
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.DIO],
460
+ multicallAddress: multicallAddresses[ChainId.DIO],
464
461
  metamask: {
465
- chainId: (0, EVMChain_1.prefixChainId)(15),
462
+ chainId: prefixChainId(15),
466
463
  blockExplorerUrls: ['https://diode.io/prenet/'],
467
464
  chainName: 'Diode Prenet',
468
465
  nativeCurrency: {
@@ -475,10 +472,10 @@ exports.supportedEVMChains = [
475
472
  },
476
473
  // 42220 Celo Mainnet
477
474
  {
478
- key: base_1.ChainKey.CEL,
479
- chainType: Chain_1.ChainType.EVM,
475
+ key: ChainKey.CEL,
476
+ chainType: ChainType.EVM,
480
477
  name: 'CELO',
481
- coin: base_1.CoinKey.CELO,
478
+ coin: CoinKey.CELO,
482
479
  id: 42220,
483
480
  mainnet: true,
484
481
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.svg',
@@ -487,9 +484,9 @@ exports.supportedEVMChains = [
487
484
  'https://stakely.io/faucet/celo-platform',
488
485
  'https://free-online-app.com/faucet-for-eth-evm-chains/',
489
486
  ],
490
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.CEL],
487
+ multicallAddress: multicallAddresses[ChainId.CEL],
491
488
  metamask: {
492
- chainId: (0, EVMChain_1.prefixChainId)(42220),
489
+ chainId: prefixChainId(42220),
493
490
  blockExplorerUrls: ['https://explorer.celo.org/'],
494
491
  chainName: 'Celo Mainnet',
495
492
  nativeCurrency: {
@@ -502,17 +499,17 @@ exports.supportedEVMChains = [
502
499
  },
503
500
  // 122 Fuse Mainnet
504
501
  {
505
- key: base_1.ChainKey.FUS,
506
- chainType: Chain_1.ChainType.EVM,
502
+ key: ChainKey.FUS,
503
+ chainType: ChainType.EVM,
507
504
  name: 'FUSE',
508
- coin: base_1.CoinKey.FUSE,
505
+ coin: CoinKey.FUSE,
509
506
  id: 122,
510
507
  mainnet: true,
511
508
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fuse.svg',
512
509
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/fuse.json',
513
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FUS],
510
+ multicallAddress: multicallAddresses[ChainId.FUS],
514
511
  metamask: {
515
- chainId: (0, EVMChain_1.prefixChainId)(122),
512
+ chainId: prefixChainId(122),
516
513
  blockExplorerUrls: ['https://explorer.fuse.io/'],
517
514
  chainName: 'Fuse Mainnet',
518
515
  nativeCurrency: {
@@ -525,16 +522,16 @@ exports.supportedEVMChains = [
525
522
  },
526
523
  // 40 Telos EVM Mainnet
527
524
  {
528
- key: base_1.ChainKey.TLO,
529
- chainType: Chain_1.ChainType.EVM,
525
+ key: ChainKey.TLO,
526
+ chainType: ChainType.EVM,
530
527
  name: 'Telos',
531
- coin: base_1.CoinKey.TLOS,
528
+ coin: CoinKey.TLOS,
532
529
  id: 40,
533
530
  mainnet: true,
534
531
  tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/telos.json',
535
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.TLO],
532
+ multicallAddress: multicallAddresses[ChainId.TLO],
536
533
  metamask: {
537
- chainId: (0, EVMChain_1.prefixChainId)(40),
534
+ chainId: prefixChainId(40),
538
535
  blockExplorerUrls: ['https://telos.net/'],
539
536
  chainName: 'Telos EVM Mainnet',
540
537
  nativeCurrency: {
@@ -547,17 +544,17 @@ exports.supportedEVMChains = [
547
544
  },
548
545
  // 25 Cronos Mainnet Beta
549
546
  {
550
- key: base_1.ChainKey.CRO,
551
- chainType: Chain_1.ChainType.EVM,
547
+ key: ChainKey.CRO,
548
+ chainType: ChainType.EVM,
552
549
  name: 'Cronos',
553
- coin: base_1.CoinKey.CRO,
550
+ coin: CoinKey.CRO,
554
551
  id: 25,
555
552
  mainnet: true,
556
553
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.svg',
557
554
  tokenlistUrl: 'https://raw.githubusercontent.com/cronaswap/cronaswap-tokenlists/main/cronaswap-default.tokenlist.json',
558
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.CRO],
555
+ multicallAddress: multicallAddresses[ChainId.CRO],
559
556
  metamask: {
560
- chainId: (0, EVMChain_1.prefixChainId)(25),
557
+ chainId: prefixChainId(25),
561
558
  blockExplorerUrls: ['https://cronos.crypto.org/explorer/'],
562
559
  chainName: 'Cronos',
563
560
  nativeCurrency: {
@@ -570,18 +567,18 @@ exports.supportedEVMChains = [
570
567
  },
571
568
  // 288 Boba Network
572
569
  {
573
- key: base_1.ChainKey.BOB,
574
- chainType: Chain_1.ChainType.EVM,
570
+ key: ChainKey.BOB,
571
+ chainType: ChainType.EVM,
575
572
  name: 'Boba',
576
- coin: base_1.CoinKey.ETH,
573
+ coin: CoinKey.ETH,
577
574
  id: 288,
578
575
  mainnet: true,
579
576
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/boba.png',
580
577
  // TODO: we should update token list url to latest one
581
578
  tokenlistUrl: 'https://raw.githubusercontent.com/OolongSwap/boba-community-token-list/main/build/boba.tokenlist.json',
582
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BOB],
579
+ multicallAddress: multicallAddresses[ChainId.BOB],
583
580
  metamask: {
584
- chainId: (0, EVMChain_1.prefixChainId)(288),
581
+ chainId: prefixChainId(288),
585
582
  blockExplorerUrls: ['https://blockexplorer.boba.network/'],
586
583
  chainName: 'Boba',
587
584
  nativeCurrency: {
@@ -594,15 +591,15 @@ exports.supportedEVMChains = [
594
591
  },
595
592
  // 27 ShibaChain
596
593
  {
597
- key: base_1.ChainKey.SHI,
598
- chainType: Chain_1.ChainType.EVM,
594
+ key: ChainKey.SHI,
595
+ chainType: ChainType.EVM,
599
596
  name: 'Shiba',
600
- coin: base_1.CoinKey.SHIB,
597
+ coin: CoinKey.SHIB,
601
598
  id: 27,
602
599
  mainnet: true,
603
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.SHI],
600
+ multicallAddress: multicallAddresses[ChainId.SHI],
604
601
  metamask: {
605
- chainId: (0, EVMChain_1.prefixChainId)(27),
602
+ chainId: prefixChainId(27),
606
603
  blockExplorerUrls: ['https://exp.shibachain.net/'],
607
604
  chainName: 'Shiba',
608
605
  nativeCurrency: {
@@ -615,15 +612,15 @@ exports.supportedEVMChains = [
615
612
  },
616
613
  // 29 Genesis L1
617
614
  {
618
- key: base_1.ChainKey.GL1,
619
- chainType: Chain_1.ChainType.EVM,
615
+ key: ChainKey.GL1,
616
+ chainType: ChainType.EVM,
620
617
  name: 'Genesis L1',
621
- coin: base_1.CoinKey.L1,
618
+ coin: CoinKey.L1,
622
619
  id: 29,
623
620
  mainnet: true,
624
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.GL1],
621
+ multicallAddress: multicallAddresses[ChainId.GL1],
625
622
  metamask: {
626
- chainId: (0, EVMChain_1.prefixChainId)(29),
623
+ chainId: prefixChainId(29),
627
624
  blockExplorerUrls: ['https://explorer.genesisl1.org/'],
628
625
  chainName: 'Genesis L1',
629
626
  nativeCurrency: {
@@ -636,15 +633,15 @@ exports.supportedEVMChains = [
636
633
  },
637
634
  // 30 RSK Mainnet
638
635
  {
639
- key: base_1.ChainKey.RSK,
640
- chainType: Chain_1.ChainType.EVM,
636
+ key: ChainKey.RSK,
637
+ chainType: ChainType.EVM,
641
638
  name: 'RSK Mainnet',
642
- coin: base_1.CoinKey.RBTC,
639
+ coin: CoinKey.RBTC,
643
640
  id: 30,
644
641
  mainnet: true,
645
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.RSK],
642
+ multicallAddress: multicallAddresses[ChainId.RSK],
646
643
  metamask: {
647
- chainId: (0, EVMChain_1.prefixChainId)(30),
644
+ chainId: prefixChainId(30),
648
645
  blockExplorerUrls: ['https://explorer.rsk.co/'],
649
646
  chainName: 'RSK Mainnet',
650
647
  nativeCurrency: {
@@ -657,15 +654,15 @@ exports.supportedEVMChains = [
657
654
  },
658
655
  // 35 TBWG Chain
659
656
  {
660
- key: base_1.ChainKey.TBW,
661
- chainType: Chain_1.ChainType.EVM,
657
+ key: ChainKey.TBW,
658
+ chainType: ChainType.EVM,
662
659
  name: 'TBWG',
663
- coin: base_1.CoinKey.TBG,
660
+ coin: CoinKey.TBG,
664
661
  id: 35,
665
662
  mainnet: true,
666
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.TBW],
663
+ multicallAddress: multicallAddresses[ChainId.TBW],
667
664
  metamask: {
668
- chainId: (0, EVMChain_1.prefixChainId)(35),
665
+ chainId: prefixChainId(35),
669
666
  blockExplorerUrls: ['https://tbwg.io/'],
670
667
  chainName: 'TBWG',
671
668
  nativeCurrency: {
@@ -678,15 +675,15 @@ exports.supportedEVMChains = [
678
675
  },
679
676
  // 106 Velas EVM Mainnet
680
677
  {
681
- key: base_1.ChainKey.VEL,
682
- chainType: Chain_1.ChainType.EVM,
678
+ key: ChainKey.VEL,
679
+ chainType: ChainType.EVM,
683
680
  name: 'Velas',
684
- coin: base_1.CoinKey.VLX,
681
+ coin: CoinKey.VLX,
685
682
  id: 106,
686
683
  mainnet: true,
687
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.VEL],
684
+ multicallAddress: multicallAddresses[ChainId.VEL],
688
685
  metamask: {
689
- chainId: (0, EVMChain_1.prefixChainId)(106),
686
+ chainId: prefixChainId(106),
690
687
  blockExplorerUrls: ['https://evmexplorer.velas.com/'],
691
688
  chainName: 'Velas',
692
689
  nativeCurrency: {
@@ -699,17 +696,17 @@ exports.supportedEVMChains = [
699
696
  },
700
697
  // 1088 Metis Andromeda Mainnet
701
698
  {
702
- key: base_1.ChainKey.MAM,
703
- chainType: Chain_1.ChainType.EVM,
699
+ key: ChainKey.MAM,
700
+ chainType: ChainType.EVM,
704
701
  name: 'Metis',
705
- coin: base_1.CoinKey.METIS,
702
+ coin: CoinKey.METIS,
706
703
  id: 1088,
707
704
  mainnet: true,
708
705
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/metis.png',
709
706
  tokenlistUrl: 'https://raw.githubusercontent.com/digitalnativeinc/default-token-list/dnf/tokens/metis.json',
710
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MAM],
707
+ multicallAddress: multicallAddresses[ChainId.MAM],
711
708
  metamask: {
712
- chainId: (0, EVMChain_1.prefixChainId)(1088),
709
+ chainId: prefixChainId(1088),
713
710
  blockExplorerUrls: ['https://andromeda-explorer.metis.io/'],
714
711
  chainName: 'Metis',
715
712
  nativeCurrency: {
@@ -722,17 +719,17 @@ exports.supportedEVMChains = [
722
719
  },
723
720
  // 1313161554 Aurora Mainnet
724
721
  {
725
- key: base_1.ChainKey.AUR,
726
- chainType: Chain_1.ChainType.EVM,
722
+ key: ChainKey.AUR,
723
+ chainType: ChainType.EVM,
727
724
  name: 'Aurora',
728
- coin: base_1.CoinKey.ETH,
725
+ coin: CoinKey.ETH,
729
726
  id: 1313161554,
730
727
  mainnet: true,
731
728
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/aurora.png',
732
729
  tokenlistUrl: 'https://aurora.dev/tokens.json',
733
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AUR],
730
+ multicallAddress: multicallAddresses[ChainId.AUR],
734
731
  metamask: {
735
- chainId: (0, EVMChain_1.prefixChainId)(1313161554),
732
+ chainId: prefixChainId(1313161554),
736
733
  blockExplorerUrls: ['https://aurorascan.dev/'],
737
734
  chainName: 'Aurora',
738
735
  nativeCurrency: {
@@ -745,16 +742,16 @@ exports.supportedEVMChains = [
745
742
  },
746
743
  // EVM = 9001,
747
744
  {
748
- key: base_1.ChainKey.EVM,
749
- chainType: Chain_1.ChainType.EVM,
745
+ key: ChainKey.EVM,
746
+ chainType: ChainType.EVM,
750
747
  name: 'Evmos',
751
- coin: base_1.CoinKey.EVM,
748
+ coin: CoinKey.EVM,
752
749
  id: 9001,
753
750
  mainnet: true,
754
751
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.svg',
755
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.EVM],
752
+ multicallAddress: multicallAddresses[ChainId.EVM],
756
753
  metamask: {
757
- chainId: (0, EVMChain_1.prefixChainId)(9001),
754
+ chainId: prefixChainId(9001),
758
755
  blockExplorerUrls: ['https://evm.evmos.org/'],
759
756
  chainName: 'Evmos',
760
757
  nativeCurrency: {
@@ -768,10 +765,10 @@ exports.supportedEVMChains = [
768
765
  // TESTNETS
769
766
  // 3 - Ropsten
770
767
  {
771
- key: base_1.ChainKey.ROP,
772
- chainType: Chain_1.ChainType.EVM,
768
+ key: ChainKey.ROP,
769
+ chainType: ChainType.EVM,
773
770
  name: 'Ropsten',
774
- coin: base_1.CoinKey.ETH,
771
+ coin: CoinKey.ETH,
775
772
  id: 3,
776
773
  mainnet: false,
777
774
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_ropsten.png',
@@ -780,9 +777,9 @@ exports.supportedEVMChains = [
780
777
  'https://faucet.ropsten.be/',
781
778
  'https://app.compound.finance/', // https://teller.gitbook.io/teller-1/testing-guide/getting-testnet-tokens-ropsten-1
782
779
  ],
783
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ROP],
780
+ multicallAddress: multicallAddresses[ChainId.ROP],
784
781
  metamask: {
785
- chainId: (0, EVMChain_1.prefixChainId)(3),
782
+ chainId: prefixChainId(3),
786
783
  blockExplorerUrls: ['https://ropsten.etherscan.io/'],
787
784
  chainName: 'Ethereum Testnet Ropsten',
788
785
  nativeCurrency: {
@@ -797,18 +794,18 @@ exports.supportedEVMChains = [
797
794
  },
798
795
  // 4 - Rinkeby
799
796
  {
800
- key: base_1.ChainKey.RIN,
801
- chainType: Chain_1.ChainType.EVM,
797
+ key: ChainKey.RIN,
798
+ chainType: ChainType.EVM,
802
799
  name: 'Rinkeby',
803
- coin: base_1.CoinKey.ETH,
800
+ coin: CoinKey.ETH,
804
801
  id: 4,
805
802
  mainnet: false,
806
803
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_rinkeby.png',
807
804
  tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
808
805
  faucetUrls: ['https://faucet.rinkeby.io/'],
809
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.RIN],
806
+ multicallAddress: multicallAddresses[ChainId.RIN],
810
807
  metamask: {
811
- chainId: (0, EVMChain_1.prefixChainId)(4),
808
+ chainId: prefixChainId(4),
812
809
  blockExplorerUrls: ['https://rinkeby.etherscan.io/'],
813
810
  chainName: 'Ethereum Testnet Rinkeby',
814
811
  nativeCurrency: {
@@ -823,18 +820,18 @@ exports.supportedEVMChains = [
823
820
  },
824
821
  // 5 - Goerli
825
822
  {
826
- key: base_1.ChainKey.GOR,
827
- chainType: Chain_1.ChainType.EVM,
823
+ key: ChainKey.GOR,
824
+ chainType: ChainType.EVM,
828
825
  name: 'Goerli',
829
- coin: base_1.CoinKey.ETH,
826
+ coin: CoinKey.ETH,
830
827
  id: 5,
831
828
  mainnet: false,
832
829
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_goerli.png',
833
830
  tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
834
831
  faucetUrls: ['https://goerli-faucet.slock.it/'],
835
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.GOR],
832
+ multicallAddress: multicallAddresses[ChainId.GOR],
836
833
  metamask: {
837
- chainId: (0, EVMChain_1.prefixChainId)(5),
834
+ chainId: prefixChainId(5),
838
835
  blockExplorerUrls: ['https://goerli.etherscan.io/'],
839
836
  chainName: 'Ethereum Testnet Görli',
840
837
  nativeCurrency: {
@@ -847,15 +844,15 @@ exports.supportedEVMChains = [
847
844
  },
848
845
  // 12 - Metadium Testnet
849
846
  {
850
- key: base_1.ChainKey.METT,
851
- chainType: Chain_1.ChainType.EVM,
847
+ key: ChainKey.METT,
848
+ chainType: ChainType.EVM,
852
849
  name: 'Metadium Testnet',
853
- coin: base_1.CoinKey.KAL,
850
+ coin: CoinKey.KAL,
854
851
  id: 12,
855
852
  mainnet: false,
856
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.METT],
853
+ multicallAddress: multicallAddresses[ChainId.METT],
857
854
  metamask: {
858
- chainId: (0, EVMChain_1.prefixChainId)(12),
855
+ chainId: prefixChainId(12),
859
856
  blockExplorerUrls: ['https://metadium.com/'],
860
857
  chainName: 'Metadium Testnet',
861
858
  nativeCurrency: {
@@ -868,15 +865,15 @@ exports.supportedEVMChains = [
868
865
  },
869
866
  // 13 - Diode Testnet Staging
870
867
  {
871
- key: base_1.ChainKey.DIOT,
872
- chainType: Chain_1.ChainType.EVM,
868
+ key: ChainKey.DIOT,
869
+ chainType: ChainType.EVM,
873
870
  name: 'DIODE',
874
- coin: base_1.CoinKey.SDIODE,
871
+ coin: CoinKey.SDIODE,
875
872
  id: 13,
876
873
  mainnet: false,
877
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.DIOT],
874
+ multicallAddress: multicallAddresses[ChainId.DIOT],
878
875
  metamask: {
879
- chainId: (0, EVMChain_1.prefixChainId)(13),
876
+ chainId: prefixChainId(13),
880
877
  blockExplorerUrls: ['https://diode.io/staging/'],
881
878
  chainName: 'Diode Testnet Staging',
882
879
  nativeCurrency: {
@@ -889,10 +886,10 @@ exports.supportedEVMChains = [
889
886
  },
890
887
  // 42 - Kovan
891
888
  {
892
- key: base_1.ChainKey.KOV,
893
- chainType: Chain_1.ChainType.EVM,
889
+ key: ChainKey.KOV,
890
+ chainType: ChainType.EVM,
894
891
  name: 'Kovan',
895
- coin: base_1.CoinKey.ETH,
892
+ coin: CoinKey.ETH,
896
893
  id: 42,
897
894
  mainnet: false,
898
895
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_kovan.png',
@@ -901,9 +898,9 @@ exports.supportedEVMChains = [
901
898
  'https://ethdrop.dev/',
902
899
  'https://gitter.im/kovan-testnet/faucet',
903
900
  ],
904
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.KOV],
901
+ multicallAddress: multicallAddresses[ChainId.KOV],
905
902
  metamask: {
906
- chainId: (0, EVMChain_1.prefixChainId)(42),
903
+ chainId: prefixChainId(42),
907
904
  blockExplorerUrls: ['https://kovan.etherscan.io/'],
908
905
  chainName: 'Ethereum Testnet Kovan',
909
906
  nativeCurrency: {
@@ -916,18 +913,18 @@ exports.supportedEVMChains = [
916
913
  },
917
914
  // 80001 - Mumbai Polygon Testnet
918
915
  {
919
- key: base_1.ChainKey.MUM,
920
- chainType: Chain_1.ChainType.EVM,
916
+ key: ChainKey.MUM,
917
+ chainType: ChainType.EVM,
921
918
  name: 'Polygon Testnet',
922
- coin: base_1.CoinKey.MATIC,
919
+ coin: CoinKey.MATIC,
923
920
  id: 80001,
924
921
  mainnet: false,
925
922
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon_test.png',
926
923
  tokenlistUrl: 'https://raw.githubusercontent.com/elkfinance/tokens/main/mumbai.tokenlist.json',
927
924
  faucetUrls: ['https://faucet.matic.network/'],
928
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MUM],
925
+ multicallAddress: multicallAddresses[ChainId.MUM],
929
926
  metamask: {
930
- chainId: (0, EVMChain_1.prefixChainId)(80001),
927
+ chainId: prefixChainId(80001),
931
928
  blockExplorerUrls: ['https://explorer-mumbai.maticvigil.com/'],
932
929
  chainName: 'Matic(Polygon) Testnet Mumbai',
933
930
  nativeCurrency: {
@@ -940,17 +937,17 @@ exports.supportedEVMChains = [
940
937
  },
941
938
  // 421611 - Arbitrum Testnet
942
939
  {
943
- key: base_1.ChainKey.ARBT,
944
- chainType: Chain_1.ChainType.EVM,
940
+ key: ChainKey.ARBT,
941
+ chainType: ChainType.EVM,
945
942
  name: 'Arbitrum Testnet',
946
- coin: base_1.CoinKey.ETH,
943
+ coin: CoinKey.ETH,
947
944
  id: 421611,
948
945
  mainnet: false,
949
946
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
950
947
  faucetUrls: ['https://bridge.arbitrum.io/'],
951
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ARBT],
948
+ multicallAddress: multicallAddresses[ChainId.ARBT],
952
949
  metamask: {
953
- chainId: (0, EVMChain_1.prefixChainId)(421611),
950
+ chainId: prefixChainId(421611),
954
951
  blockExplorerUrls: ['https://rinkeby-explorer.arbitrum.io/#/'],
955
952
  chainName: 'Arbitrum Testnet Rinkeby',
956
953
  nativeCurrency: {
@@ -963,17 +960,17 @@ exports.supportedEVMChains = [
963
960
  },
964
961
  // 69 - Optimistic Ethereum (Kovan)
965
962
  {
966
- key: base_1.ChainKey.OPTT,
967
- chainType: Chain_1.ChainType.EVM,
963
+ key: ChainKey.OPTT,
964
+ chainType: ChainType.EVM,
968
965
  name: 'Optimism Testnet',
969
- coin: base_1.CoinKey.ETH,
966
+ coin: CoinKey.ETH,
970
967
  id: 69,
971
968
  mainnet: false,
972
969
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
973
970
  faucetUrls: ['https://gateway.optimism.io/'],
974
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OPTT],
971
+ multicallAddress: multicallAddresses[ChainId.OPTT],
975
972
  metamask: {
976
- chainId: (0, EVMChain_1.prefixChainId)(69),
973
+ chainId: prefixChainId(69),
977
974
  blockExplorerUrls: ['https://kovan-optimistic.etherscan.io/'],
978
975
  chainName: 'Optimistic Ethereum Testnet Kovan',
979
976
  nativeCurrency: {
@@ -986,17 +983,17 @@ exports.supportedEVMChains = [
986
983
  },
987
984
  // 97 - Binance Smart Chain Testnet
988
985
  {
989
- key: base_1.ChainKey.BSCT,
990
- chainType: Chain_1.ChainType.EVM,
986
+ key: ChainKey.BSCT,
987
+ chainType: ChainType.EVM,
991
988
  name: 'Binance Smart Chain Testnet',
992
- coin: base_1.CoinKey.BNB,
989
+ coin: CoinKey.BNB,
993
990
  id: 97,
994
991
  mainnet: false,
995
992
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc_test.png',
996
993
  faucetUrls: ['https://testnet.binance.org/faucet-smart'],
997
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BSCT],
994
+ multicallAddress: multicallAddresses[ChainId.BSCT],
998
995
  metamask: {
999
- chainId: (0, EVMChain_1.prefixChainId)(97),
996
+ chainId: prefixChainId(97),
1000
997
  blockExplorerUrls: ['https://testnet.bscscan.com/'],
1001
998
  chainName: 'Binance Smart Chain Testnet',
1002
999
  nativeCurrency: {
@@ -1009,16 +1006,16 @@ exports.supportedEVMChains = [
1009
1006
  },
1010
1007
  // 256 - Huobi ECO Chain Testnet
1011
1008
  {
1012
- key: base_1.ChainKey.HECT,
1013
- chainType: Chain_1.ChainType.EVM,
1009
+ key: ChainKey.HECT,
1010
+ chainType: ChainType.EVM,
1014
1011
  name: 'Huobi ECO Chain Testnet',
1015
1012
  coin: 'HTT',
1016
1013
  id: 256,
1017
1014
  mainnet: false,
1018
1015
  faucetUrls: ['https://scan-testnet.hecochain.com/faucet'],
1019
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.HECT],
1016
+ multicallAddress: multicallAddresses[ChainId.HECT],
1020
1017
  metamask: {
1021
- chainId: (0, EVMChain_1.prefixChainId)(256),
1018
+ chainId: prefixChainId(256),
1022
1019
  blockExplorerUrls: ['https://scan-testnet.hecochain.com/'],
1023
1020
  chainName: 'Huobi ECO Chain Testnet',
1024
1021
  nativeCurrency: {
@@ -1034,17 +1031,17 @@ exports.supportedEVMChains = [
1034
1031
  },
1035
1032
  // 1666700000 - Harmony Testnet 0
1036
1033
  {
1037
- key: base_1.ChainKey.ONET,
1038
- chainType: Chain_1.ChainType.EVM,
1034
+ key: ChainKey.ONET,
1035
+ chainType: ChainType.EVM,
1039
1036
  name: 'Harmony Testnet',
1040
- coin: base_1.CoinKey.ONE,
1037
+ coin: CoinKey.ONE,
1041
1038
  id: 1666700000,
1042
1039
  mainnet: false,
1043
1040
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony_test.png',
1044
1041
  // https://docs.harmony.one/home/developers/wallets/metamask/connect-metamask-to-the-harmony-chain
1045
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ONET],
1042
+ multicallAddress: multicallAddresses[ChainId.ONET],
1046
1043
  metamask: {
1047
- chainId: (0, EVMChain_1.prefixChainId)(1666700000),
1044
+ chainId: prefixChainId(1666700000),
1048
1045
  blockExplorerUrls: [
1049
1046
  'https://explorer.pops.one/',
1050
1047
  'https://explorer.testnet.harmony.one/',
@@ -1060,15 +1057,15 @@ exports.supportedEVMChains = [
1060
1057
  },
1061
1058
  // 123 Fuse Sparknet
1062
1059
  {
1063
- key: base_1.ChainKey.FUST,
1064
- chainType: Chain_1.ChainType.EVM,
1060
+ key: ChainKey.FUST,
1061
+ chainType: ChainType.EVM,
1065
1062
  name: 'SPARK',
1066
- coin: base_1.CoinKey.SPARK,
1063
+ coin: CoinKey.SPARK,
1067
1064
  id: 123,
1068
1065
  mainnet: false,
1069
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FUST],
1066
+ multicallAddress: multicallAddresses[ChainId.FUST],
1070
1067
  metamask: {
1071
- chainId: (0, EVMChain_1.prefixChainId)(123),
1068
+ chainId: prefixChainId(123),
1072
1069
  blockExplorerUrls: ['https://explorer.fusespark.io/'],
1073
1070
  chainName: 'Fuse Sparknet',
1074
1071
  nativeCurrency: {
@@ -1081,16 +1078,16 @@ exports.supportedEVMChains = [
1081
1078
  },
1082
1079
  // 41 Telos EVM Testnet
1083
1080
  {
1084
- key: base_1.ChainKey.TLOT,
1085
- chainType: Chain_1.ChainType.EVM,
1081
+ key: ChainKey.TLOT,
1082
+ chainType: ChainType.EVM,
1086
1083
  name: 'Telos Testnet',
1087
- coin: base_1.CoinKey.TLOS,
1084
+ coin: CoinKey.TLOS,
1088
1085
  id: 41,
1089
1086
  mainnet: false,
1090
1087
  faucetUrls: ['https://app.telos.net/testnet/developers'],
1091
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.TLOT],
1088
+ multicallAddress: multicallAddresses[ChainId.TLOT],
1092
1089
  metamask: {
1093
- chainId: (0, EVMChain_1.prefixChainId)(41),
1090
+ chainId: prefixChainId(41),
1094
1091
  blockExplorerUrls: ['https://telos.net/'],
1095
1092
  chainName: 'Telos EVM Mainnet',
1096
1093
  nativeCurrency: {
@@ -1103,15 +1100,15 @@ exports.supportedEVMChains = [
1103
1100
  },
1104
1101
  // 31 RSK Testnet
1105
1102
  {
1106
- key: base_1.ChainKey.RSKT,
1107
- chainType: Chain_1.ChainType.EVM,
1103
+ key: ChainKey.RSKT,
1104
+ chainType: ChainType.EVM,
1108
1105
  name: 'RSK Testnet',
1109
- coin: base_1.CoinKey.TRBTC,
1106
+ coin: CoinKey.TRBTC,
1110
1107
  id: 31,
1111
1108
  mainnet: true,
1112
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.RSKT],
1109
+ multicallAddress: multicallAddresses[ChainId.RSKT],
1113
1110
  metamask: {
1114
- chainId: (0, EVMChain_1.prefixChainId)(31),
1111
+ chainId: prefixChainId(31),
1115
1112
  blockExplorerUrls: ['https://rsk.co/'],
1116
1113
  chainName: 'RSK Testnet',
1117
1114
  nativeCurrency: {
@@ -1124,18 +1121,18 @@ exports.supportedEVMChains = [
1124
1121
  },
1125
1122
  // 43113 - Avalanche Fuji Testnet
1126
1123
  {
1127
- key: base_1.ChainKey.AVAT,
1128
- chainType: Chain_1.ChainType.EVM,
1124
+ key: ChainKey.AVAT,
1125
+ chainType: ChainType.EVM,
1129
1126
  name: 'Avalanche Fuji Testnet',
1130
- coin: base_1.CoinKey.AVAX,
1127
+ coin: CoinKey.AVAX,
1131
1128
  id: 43113,
1132
1129
  mainnet: false,
1133
1130
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche_test.png',
1134
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AVAT],
1131
+ multicallAddress: multicallAddresses[ChainId.AVAT],
1135
1132
  faucetUrls: ['https://faucet.avax-test.network/'],
1136
1133
  // https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-43113.json
1137
1134
  metamask: {
1138
- chainId: (0, EVMChain_1.prefixChainId)(43113),
1135
+ chainId: prefixChainId(43113),
1139
1136
  blockExplorerUrls: ['https://testnet.snowtrace.io'],
1140
1137
  chainName: 'Avalanche Fuji Testnet',
1141
1138
  nativeCurrency: {
@@ -1154,13 +1151,13 @@ exports.supportedEVMChains = [
1154
1151
  // kucoin faucet: https://stakely.io/faucet/kucoin-kcc-kcs
1155
1152
  // Velas faucet: https://stakely.io/faucet/velas-vlx
1156
1153
  ];
1157
- exports.supportedSolanaChains = [
1154
+ export const supportedSolanaChains = [
1158
1155
  {
1159
- key: base_1.ChainKey.SOL,
1160
- chainType: Chain_1.ChainType.Solana,
1156
+ key: ChainKey.SOL,
1157
+ chainType: ChainType.Solana,
1161
1158
  name: 'Solana',
1162
- coin: base_1.CoinKey.SOL,
1163
- id: base_1.ChainId.SOL,
1159
+ coin: CoinKey.SOL,
1160
+ id: ChainId.SOL,
1164
1161
  mainnet: true,
1165
1162
  logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/solana.svg',
1166
1163
  faucetUrls: ['https://stakely.io/faucet/solana-sol'],
@@ -1169,4 +1166,4 @@ exports.supportedSolanaChains = [
1169
1166
  // This assignment is required to avoid breaking
1170
1167
  // changes with the new non EVM support types release
1171
1168
  // This will be removed in the future
1172
- exports.supportedChains = exports.supportedEVMChains;
1169
+ export const supportedChains = supportedEVMChains;