@lifi/data-types 6.2.0-beta.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,7 @@ export const supportedEVMChains: EVMChain[] = [
22
22
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
23
23
  tokenlistUrl: 'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
24
24
  multicallAddress: multicallAddresses[ChainId.ETH],
25
+ relayerSupported: true,
25
26
  metamask: {
26
27
  chainId: prefixChainId(1),
27
28
  blockExplorerUrls: ['https://etherscan.io/'],
@@ -53,6 +54,7 @@ export const supportedEVMChains: EVMChain[] = [
53
54
  'https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json',
54
55
  faucetUrls: ['https://stakely.io/faucet/polygon-matic'],
55
56
  multicallAddress: multicallAddresses[ChainId.POL],
57
+ relayerSupported: true,
56
58
  metamask: {
57
59
  chainId: prefixChainId(137),
58
60
  blockExplorerUrls: ['https://polygonscan.com/'],
@@ -84,6 +86,7 @@ export const supportedEVMChains: EVMChain[] = [
84
86
  'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
85
87
  faucetUrls: ['https://stakely.io/faucet/bsc-chain-bnb'],
86
88
  multicallAddress: multicallAddresses[ChainId.BSC],
89
+ relayerSupported: true,
87
90
  // https://docs.binance.org/smart-chain/wallet/metamask.html
88
91
  metamask: {
89
92
  chainId: prefixChainId(56),
@@ -183,6 +186,7 @@ export const supportedEVMChains: EVMChain[] = [
183
186
  tokenlistUrl:
184
187
  'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/avalanche.json',
185
188
  multicallAddress: multicallAddresses[ChainId.AVA],
189
+ relayerSupported: true,
186
190
  // https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
187
191
  metamask: {
188
192
  chainId: prefixChainId(43114),
@@ -216,6 +220,7 @@ export const supportedEVMChains: EVMChain[] = [
216
220
  'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/arbitrum.json',
217
221
  faucetUrls: ['https://bridge.arbitrum.io/'],
218
222
  multicallAddress: multicallAddresses[ChainId.ARB],
223
+ relayerSupported: true,
219
224
  metamask: {
220
225
  chainId: prefixChainId(42161),
221
226
  blockExplorerUrls: ['https://arbiscan.io/'],
@@ -246,6 +251,7 @@ export const supportedEVMChains: EVMChain[] = [
246
251
  tokenlistUrl: 'https://static.optimism.io/optimism.tokenlist.json',
247
252
  faucetUrls: ['https://gateway.optimism.io/'],
248
253
  multicallAddress: multicallAddresses[ChainId.OPT],
254
+ relayerSupported: true,
249
255
  metamask: {
250
256
  chainId: prefixChainId(10),
251
257
  blockExplorerUrls: ['https://optimistic.etherscan.io/'],
@@ -624,6 +630,7 @@ export const supportedEVMChains: EVMChain[] = [
624
630
  logoURI:
625
631
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zksync.svg',
626
632
  multicallAddress: multicallAddresses[ChainId.ERA],
633
+ relayerSupported: true,
627
634
  metamask: {
628
635
  chainId: prefixChainId(324),
629
636
  blockExplorerUrls: ['https://explorer.zksync.io/'],
@@ -671,6 +678,7 @@ export const supportedEVMChains: EVMChain[] = [
671
678
  logoURI:
672
679
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
673
680
  multicallAddress: multicallAddresses[ChainId.BAS],
681
+ relayerSupported: true,
674
682
  metamask: {
675
683
  chainId: prefixChainId(ChainId.BAS),
676
684
  blockExplorerUrls: ['https://basescan.org/'],
@@ -809,6 +817,7 @@ export const supportedEVMChains: EVMChain[] = [
809
817
  logoURI:
810
818
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/blast.png',
811
819
  multicallAddress: multicallAddresses[ChainId.BLS],
820
+ relayerSupported: true,
812
821
  metamask: {
813
822
  chainId: prefixChainId(81457),
814
823
  blockExplorerUrls: ['https://blastscan.io/', 'https://blastexplorer.io/'],
@@ -1157,7 +1166,7 @@ export const supportedEVMChains: EVMChain[] = [
1157
1166
  logoURI:
1158
1167
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bera.svg',
1159
1168
  multicallAddress: multicallAddresses[ChainId.BER],
1160
-
1169
+ relayerSupported: true,
1161
1170
  metamask: {
1162
1171
  chainId: prefixChainId(80094),
1163
1172
  blockExplorerUrls: ['https://berascan.com/', 'https://beratrail.io/'],
@@ -1210,7 +1219,7 @@ export const supportedEVMChains: EVMChain[] = [
1210
1219
  logoURI:
1211
1220
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/unichain.svg',
1212
1221
  multicallAddress: multicallAddresses[ChainId.UNI],
1213
-
1222
+ relayerSupported: true,
1214
1223
  metamask: {
1215
1224
  chainId: prefixChainId(130),
1216
1225
  blockExplorerUrls: [
@@ -1226,28 +1235,4 @@ export const supportedEVMChains: EVMChain[] = [
1226
1235
  rpcUrls: ['https://mainnet.unichain.org'],
1227
1236
  },
1228
1237
  },
1229
-
1230
- {
1231
- key: ChainKey.INK,
1232
- chainType: ChainType.EVM,
1233
- name: 'Ink',
1234
- coin: CoinKey.ETH,
1235
- id: 57073,
1236
- mainnet: true,
1237
- logoURI:
1238
- 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ink.svg',
1239
- multicallAddress: multicallAddresses[ChainId.INK],
1240
-
1241
- metamask: {
1242
- chainId: prefixChainId(57079),
1243
- blockExplorerUrls: ['https://explorer.inkonchain.com/'],
1244
- chainName: 'Ink',
1245
- nativeCurrency: {
1246
- name: 'Ether',
1247
- symbol: 'ETH',
1248
- decimals: 18,
1249
- },
1250
- rpcUrls: ['https://rpc-gel.inkonchain.com'],
1251
- },
1252
- },
1253
1238
  ]
@@ -147,10 +147,6 @@ export const basicCoins: BasicCoin[] = [
147
147
  address: '0x0000000000000000000000000000000000000000',
148
148
  decimals: 18,
149
149
  },
150
- [ChainId.INK]: {
151
- address: '0x0000000000000000000000000000000000000000',
152
- decimals: 18,
153
- },
154
150
  },
155
151
  },
156
152
  // > MATIC
@@ -1436,10 +1432,6 @@ export const basicCoins: BasicCoin[] = [
1436
1432
  address: '0x4200000000000000000000000000000000000006',
1437
1433
  decimals: 18,
1438
1434
  },
1439
- [ChainId.INK]: {
1440
- address: '0x4200000000000000000000000000000000000006',
1441
- decimals: 18,
1442
- },
1443
1435
  },
1444
1436
  },
1445
1437
 
package/src/multicall.ts CHANGED
@@ -53,7 +53,6 @@ export const multicallAddresses: { [ChainId: number]: string } = {
53
53
  [ChainId.BER]: '0xcA11bde05977b3631167028862bE2a173976CA11',
54
54
  [ChainId.SON]: '0xcA11bde05977b3631167028862bE2a173976CA11',
55
55
  [ChainId.UNI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
56
- [ChainId.INK]: '0xcA11bde05977b3631167028862bE2a173976CA11',
57
56
 
58
57
  // TODO
59
58
  // [ChainId.EXP]: '', // TODO