@lifi/data-types 3.0.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chains/supportedChains.evm.js +25 -24
- package/dist/cjs/chains/supportedChains.evm.js +25 -24
- package/dist/cjs/coins/coins.js +26 -49
- package/dist/cjs/multicall.js +1 -1
- package/dist/coins/coins.js +26 -49
- package/dist/multicall.js +1 -1
- package/package.json +2 -2
|
@@ -145,30 +145,6 @@ export const supportedEVMChains = [
|
|
|
145
145
|
rpcUrls: ['https://rpc.ftm.tools/', 'https://rpcapi.fantom.network'],
|
|
146
146
|
},
|
|
147
147
|
},
|
|
148
|
-
// 66 - OKXChain
|
|
149
|
-
{
|
|
150
|
-
key: ChainKey.OKT,
|
|
151
|
-
chainType: ChainType.EVM,
|
|
152
|
-
name: 'OKXChain',
|
|
153
|
-
coin: CoinKey.OKT,
|
|
154
|
-
id: 66,
|
|
155
|
-
mainnet: true,
|
|
156
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.svg',
|
|
157
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/okex.json',
|
|
158
|
-
multicallAddress: multicallAddresses[ChainId.OKT],
|
|
159
|
-
// https://okc-docs.readthedocs.io/en/latest/developers/quick-start-for-mainnet.html
|
|
160
|
-
metamask: {
|
|
161
|
-
chainId: prefixChainId(66),
|
|
162
|
-
blockExplorerUrls: ['https://www.oklink.com/en/okc/'],
|
|
163
|
-
chainName: 'OKXChain Mainnet',
|
|
164
|
-
nativeCurrency: {
|
|
165
|
-
name: 'OKT',
|
|
166
|
-
symbol: 'OKT',
|
|
167
|
-
decimals: 18,
|
|
168
|
-
},
|
|
169
|
-
rpcUrls: ['https://exchainrpc.okex.org'],
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
148
|
// 43114 - Avalanche
|
|
173
149
|
{
|
|
174
150
|
key: ChainKey.AVA,
|
|
@@ -874,6 +850,31 @@ export const supportedEVMChains = [
|
|
|
874
850
|
],
|
|
875
851
|
},
|
|
876
852
|
},
|
|
853
|
+
// 534352 - Scroll
|
|
854
|
+
{
|
|
855
|
+
key: ChainKey.MOD,
|
|
856
|
+
chainType: ChainType.EVM,
|
|
857
|
+
name: 'Mode',
|
|
858
|
+
coin: CoinKey.ETH,
|
|
859
|
+
id: 34443,
|
|
860
|
+
mainnet: true,
|
|
861
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mode.png',
|
|
862
|
+
multicallAddress: multicallAddresses[ChainId.MOD],
|
|
863
|
+
metamask: {
|
|
864
|
+
chainId: prefixChainId(34443),
|
|
865
|
+
blockExplorerUrls: [
|
|
866
|
+
'https://explorer.mode.network/',
|
|
867
|
+
'https://modescan.io/',
|
|
868
|
+
],
|
|
869
|
+
chainName: 'MODE',
|
|
870
|
+
nativeCurrency: {
|
|
871
|
+
name: 'ETH',
|
|
872
|
+
symbol: 'ETH',
|
|
873
|
+
decimals: 18,
|
|
874
|
+
},
|
|
875
|
+
rpcUrls: ['https://mainnet.mode.network/', 'https://mode.drpc.org'],
|
|
876
|
+
},
|
|
877
|
+
},
|
|
877
878
|
// TESTNETS
|
|
878
879
|
// 12 - Metadium Testnet
|
|
879
880
|
{
|
|
@@ -148,30 +148,6 @@ exports.supportedEVMChains = [
|
|
|
148
148
|
rpcUrls: ['https://rpc.ftm.tools/', 'https://rpcapi.fantom.network'],
|
|
149
149
|
},
|
|
150
150
|
},
|
|
151
|
-
// 66 - OKXChain
|
|
152
|
-
{
|
|
153
|
-
key: types_1.ChainKey.OKT,
|
|
154
|
-
chainType: types_1.ChainType.EVM,
|
|
155
|
-
name: 'OKXChain',
|
|
156
|
-
coin: types_1.CoinKey.OKT,
|
|
157
|
-
id: 66,
|
|
158
|
-
mainnet: true,
|
|
159
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.svg',
|
|
160
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/okex.json',
|
|
161
|
-
multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.OKT],
|
|
162
|
-
// https://okc-docs.readthedocs.io/en/latest/developers/quick-start-for-mainnet.html
|
|
163
|
-
metamask: {
|
|
164
|
-
chainId: (0, utils_1.prefixChainId)(66),
|
|
165
|
-
blockExplorerUrls: ['https://www.oklink.com/en/okc/'],
|
|
166
|
-
chainName: 'OKXChain Mainnet',
|
|
167
|
-
nativeCurrency: {
|
|
168
|
-
name: 'OKT',
|
|
169
|
-
symbol: 'OKT',
|
|
170
|
-
decimals: 18,
|
|
171
|
-
},
|
|
172
|
-
rpcUrls: ['https://exchainrpc.okex.org'],
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
151
|
// 43114 - Avalanche
|
|
176
152
|
{
|
|
177
153
|
key: types_1.ChainKey.AVA,
|
|
@@ -877,6 +853,31 @@ exports.supportedEVMChains = [
|
|
|
877
853
|
],
|
|
878
854
|
},
|
|
879
855
|
},
|
|
856
|
+
// 534352 - Scroll
|
|
857
|
+
{
|
|
858
|
+
key: types_1.ChainKey.MOD,
|
|
859
|
+
chainType: types_1.ChainType.EVM,
|
|
860
|
+
name: 'Mode',
|
|
861
|
+
coin: types_1.CoinKey.ETH,
|
|
862
|
+
id: 34443,
|
|
863
|
+
mainnet: true,
|
|
864
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mode.png',
|
|
865
|
+
multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MOD],
|
|
866
|
+
metamask: {
|
|
867
|
+
chainId: (0, utils_1.prefixChainId)(34443),
|
|
868
|
+
blockExplorerUrls: [
|
|
869
|
+
'https://explorer.mode.network/',
|
|
870
|
+
'https://modescan.io/',
|
|
871
|
+
],
|
|
872
|
+
chainName: 'MODE',
|
|
873
|
+
nativeCurrency: {
|
|
874
|
+
name: 'ETH',
|
|
875
|
+
symbol: 'ETH',
|
|
876
|
+
decimals: 18,
|
|
877
|
+
},
|
|
878
|
+
rpcUrls: ['https://mainnet.mode.network/', 'https://mode.drpc.org'],
|
|
879
|
+
},
|
|
880
|
+
},
|
|
880
881
|
// TESTNETS
|
|
881
882
|
// 12 - Metadium Testnet
|
|
882
883
|
{
|
package/dist/cjs/coins/coins.js
CHANGED
|
@@ -81,12 +81,6 @@ exports.basicCoins = [
|
|
|
81
81
|
decimals: 18,
|
|
82
82
|
name: 'Heco-Peg ETH Token',
|
|
83
83
|
},
|
|
84
|
-
[types_1.ChainId.OKT]: {
|
|
85
|
-
address: '0xef71ca2ee68f45b9ad6f72fbdb33d707b872315c',
|
|
86
|
-
decimals: 18,
|
|
87
|
-
symbol: 'ETHK',
|
|
88
|
-
name: 'ETHK',
|
|
89
|
-
},
|
|
90
84
|
[types_1.ChainId.BOB]: {
|
|
91
85
|
address: '0x0000000000000000000000000000000000000000',
|
|
92
86
|
decimals: 18,
|
|
@@ -110,6 +104,10 @@ exports.basicCoins = [
|
|
|
110
104
|
address: '0x0000000000000000000000000000000000000000',
|
|
111
105
|
decimals: 18,
|
|
112
106
|
},
|
|
107
|
+
[types_1.ChainId.MOD]: {
|
|
108
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
109
|
+
decimals: 18,
|
|
110
|
+
},
|
|
113
111
|
// Testnets
|
|
114
112
|
[types_1.ChainId.ONET]: {
|
|
115
113
|
address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
|
|
@@ -296,11 +294,6 @@ exports.basicCoins = [
|
|
|
296
294
|
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
297
295
|
decimals: 18,
|
|
298
296
|
},
|
|
299
|
-
[types_1.ChainId.OKT]: {
|
|
300
|
-
address: '0x21cde7e32a6caf4742d00d44b07279e7596d26b9',
|
|
301
|
-
decimals: 18,
|
|
302
|
-
symbol: 'DAIK',
|
|
303
|
-
},
|
|
304
297
|
[types_1.ChainId.CRO]: {
|
|
305
298
|
address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
|
|
306
299
|
decimals: 18,
|
|
@@ -367,19 +360,6 @@ exports.basicCoins = [
|
|
|
367
360
|
},
|
|
368
361
|
},
|
|
369
362
|
},
|
|
370
|
-
// > OKT
|
|
371
|
-
{
|
|
372
|
-
key: types_1.CoinKey.OKT,
|
|
373
|
-
name: types_1.CoinKey.OKT,
|
|
374
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
375
|
-
verified: true,
|
|
376
|
-
chains: {
|
|
377
|
-
[types_1.ChainId.OKT]: {
|
|
378
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
379
|
-
decimals: 18,
|
|
380
|
-
},
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
363
|
// > AVAX
|
|
384
364
|
{
|
|
385
365
|
key: types_1.CoinKey.AVAX,
|
|
@@ -528,10 +508,6 @@ exports.basicCoins = [
|
|
|
528
508
|
address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
|
|
529
509
|
decimals: 6,
|
|
530
510
|
},
|
|
531
|
-
[types_1.ChainId.OKT]: {
|
|
532
|
-
address: '0x382bb369d343125bfb2117af9c149795c6c65c50',
|
|
533
|
-
decimals: 18,
|
|
534
|
-
},
|
|
535
511
|
[types_1.ChainId.CRO]: {
|
|
536
512
|
address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
|
|
537
513
|
decimals: 6,
|
|
@@ -595,6 +571,10 @@ exports.basicCoins = [
|
|
|
595
571
|
address: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
|
|
596
572
|
decimals: 6,
|
|
597
573
|
},
|
|
574
|
+
[types_1.ChainId.MOD]: {
|
|
575
|
+
address: '0xf0F161fDA2712DB8b566946122a5af183995e2eD',
|
|
576
|
+
decimals: 6,
|
|
577
|
+
},
|
|
598
578
|
},
|
|
599
579
|
},
|
|
600
580
|
// ======= STARGATE TESTNET TOKENS =======
|
|
@@ -796,10 +776,6 @@ exports.basicCoins = [
|
|
|
796
776
|
address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
|
|
797
777
|
decimals: 6,
|
|
798
778
|
},
|
|
799
|
-
[types_1.ChainId.OKT]: {
|
|
800
|
-
address: '0xc946daf81b08146b1c7a8da2a851ddf2b3eaaf85',
|
|
801
|
-
decimals: 18,
|
|
802
|
-
},
|
|
803
779
|
[types_1.ChainId.CRO]: {
|
|
804
780
|
address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
|
|
805
781
|
decimals: 6,
|
|
@@ -849,6 +825,10 @@ exports.basicCoins = [
|
|
|
849
825
|
address: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4',
|
|
850
826
|
decimals: 6,
|
|
851
827
|
},
|
|
828
|
+
[types_1.ChainId.MOD]: {
|
|
829
|
+
address: '0xd988097fb8612cc24eeC14542bC03424c656005f',
|
|
830
|
+
decimals: 6,
|
|
831
|
+
},
|
|
852
832
|
// Testnets
|
|
853
833
|
[types_1.ChainId.LNAT]: {
|
|
854
834
|
address: '0x964FF70695da981027c81020B1c58d833D49A640',
|
|
@@ -1036,10 +1016,6 @@ exports.basicCoins = [
|
|
|
1036
1016
|
address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
|
|
1037
1017
|
decimals: 8,
|
|
1038
1018
|
},
|
|
1039
|
-
[types_1.ChainId.OKT]: {
|
|
1040
|
-
address: '0x506f731f7656e2fb34b587b912808f2a7ab640bd',
|
|
1041
|
-
decimals: 18,
|
|
1042
|
-
},
|
|
1043
1019
|
[types_1.ChainId.CRO]: {
|
|
1044
1020
|
address: '0x062e66477faf219f25d27dced647bf57c3107d52',
|
|
1045
1021
|
decimals: 8,
|
|
@@ -1176,6 +1152,10 @@ exports.basicCoins = [
|
|
|
1176
1152
|
address: '0x5300000000000000000000000000000000000004',
|
|
1177
1153
|
decimals: 18,
|
|
1178
1154
|
},
|
|
1155
|
+
[types_1.ChainId.MOD]: {
|
|
1156
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1157
|
+
decimals: 18,
|
|
1158
|
+
},
|
|
1179
1159
|
// Testnets
|
|
1180
1160
|
[types_1.ChainId.OPTG]: {
|
|
1181
1161
|
address: '0x4200000000000000000000000000000000000006',
|
|
@@ -1240,10 +1220,6 @@ exports.basicCoins = [
|
|
|
1240
1220
|
address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
|
|
1241
1221
|
decimals: 18,
|
|
1242
1222
|
},
|
|
1243
|
-
[types_1.ChainId.OKT]: {
|
|
1244
|
-
address: '0x2218e0d5e0173769f5b4939a3ae423f7e5e4eab7',
|
|
1245
|
-
decimals: 18,
|
|
1246
|
-
},
|
|
1247
1223
|
[types_1.ChainId.HEC]: {
|
|
1248
1224
|
address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
|
|
1249
1225
|
decimals: 18,
|
|
@@ -1708,15 +1684,6 @@ exports.wrappedTokens = {
|
|
|
1708
1684
|
name: 'WMOVR',
|
|
1709
1685
|
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1710
1686
|
},
|
|
1711
|
-
[types_1.ChainId.OKT]: {
|
|
1712
|
-
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
|
|
1713
|
-
symbol: 'wOKT',
|
|
1714
|
-
decimals: 18,
|
|
1715
|
-
chainId: types_1.ChainId.OKT,
|
|
1716
|
-
coinKey: 'wOKT',
|
|
1717
|
-
name: 'wOKT',
|
|
1718
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
1719
|
-
},
|
|
1720
1687
|
[types_1.ChainId.HEC]: {
|
|
1721
1688
|
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1722
1689
|
symbol: 'wHT',
|
|
@@ -1817,6 +1784,16 @@ exports.wrappedTokens = {
|
|
|
1817
1784
|
name: 'WETH',
|
|
1818
1785
|
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1819
1786
|
},
|
|
1787
|
+
[types_1.ChainId.MOD]: {
|
|
1788
|
+
// https://explorer.mode.network/token/0x4200000000000000000000000000000000000006
|
|
1789
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1790
|
+
symbol: 'WETH',
|
|
1791
|
+
decimals: 18,
|
|
1792
|
+
chainId: types_1.ChainId.MOD,
|
|
1793
|
+
coinKey: types_1.CoinKey.WETH,
|
|
1794
|
+
name: 'WETH',
|
|
1795
|
+
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1796
|
+
},
|
|
1820
1797
|
// Testnets
|
|
1821
1798
|
[types_1.ChainId.ONET]: {
|
|
1822
1799
|
address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
|
package/dist/cjs/multicall.js
CHANGED
|
@@ -15,7 +15,6 @@ exports.multicallAddresses = {
|
|
|
15
15
|
[types_1.ChainId.POL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
16
16
|
[types_1.ChainId.BSC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
17
17
|
[types_1.ChainId.DAI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
18
|
-
[types_1.ChainId.OKT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
19
18
|
[types_1.ChainId.FTM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
20
19
|
[types_1.ChainId.AVA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
21
20
|
[types_1.ChainId.ARB]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
@@ -41,6 +40,7 @@ exports.multicallAddresses = {
|
|
|
41
40
|
[types_1.ChainId.ARN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
42
41
|
[types_1.ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
43
42
|
[types_1.ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
43
|
+
[types_1.ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
44
44
|
// TODO
|
|
45
45
|
// [ChainId.EXP]: '', // TODO
|
|
46
46
|
// [ChainId.TCH]: '', // TODO
|
package/dist/coins/coins.js
CHANGED
|
@@ -78,12 +78,6 @@ export const basicCoins = [
|
|
|
78
78
|
decimals: 18,
|
|
79
79
|
name: 'Heco-Peg ETH Token',
|
|
80
80
|
},
|
|
81
|
-
[ChainId.OKT]: {
|
|
82
|
-
address: '0xef71ca2ee68f45b9ad6f72fbdb33d707b872315c',
|
|
83
|
-
decimals: 18,
|
|
84
|
-
symbol: 'ETHK',
|
|
85
|
-
name: 'ETHK',
|
|
86
|
-
},
|
|
87
81
|
[ChainId.BOB]: {
|
|
88
82
|
address: '0x0000000000000000000000000000000000000000',
|
|
89
83
|
decimals: 18,
|
|
@@ -107,6 +101,10 @@ export const basicCoins = [
|
|
|
107
101
|
address: '0x0000000000000000000000000000000000000000',
|
|
108
102
|
decimals: 18,
|
|
109
103
|
},
|
|
104
|
+
[ChainId.MOD]: {
|
|
105
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
106
|
+
decimals: 18,
|
|
107
|
+
},
|
|
110
108
|
// Testnets
|
|
111
109
|
[ChainId.ONET]: {
|
|
112
110
|
address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
|
|
@@ -293,11 +291,6 @@ export const basicCoins = [
|
|
|
293
291
|
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
294
292
|
decimals: 18,
|
|
295
293
|
},
|
|
296
|
-
[ChainId.OKT]: {
|
|
297
|
-
address: '0x21cde7e32a6caf4742d00d44b07279e7596d26b9',
|
|
298
|
-
decimals: 18,
|
|
299
|
-
symbol: 'DAIK',
|
|
300
|
-
},
|
|
301
294
|
[ChainId.CRO]: {
|
|
302
295
|
address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
|
|
303
296
|
decimals: 18,
|
|
@@ -364,19 +357,6 @@ export const basicCoins = [
|
|
|
364
357
|
},
|
|
365
358
|
},
|
|
366
359
|
},
|
|
367
|
-
// > OKT
|
|
368
|
-
{
|
|
369
|
-
key: CoinKey.OKT,
|
|
370
|
-
name: CoinKey.OKT,
|
|
371
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
372
|
-
verified: true,
|
|
373
|
-
chains: {
|
|
374
|
-
[ChainId.OKT]: {
|
|
375
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
376
|
-
decimals: 18,
|
|
377
|
-
},
|
|
378
|
-
},
|
|
379
|
-
},
|
|
380
360
|
// > AVAX
|
|
381
361
|
{
|
|
382
362
|
key: CoinKey.AVAX,
|
|
@@ -525,10 +505,6 @@ export const basicCoins = [
|
|
|
525
505
|
address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
|
|
526
506
|
decimals: 6,
|
|
527
507
|
},
|
|
528
|
-
[ChainId.OKT]: {
|
|
529
|
-
address: '0x382bb369d343125bfb2117af9c149795c6c65c50',
|
|
530
|
-
decimals: 18,
|
|
531
|
-
},
|
|
532
508
|
[ChainId.CRO]: {
|
|
533
509
|
address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
|
|
534
510
|
decimals: 6,
|
|
@@ -592,6 +568,10 @@ export const basicCoins = [
|
|
|
592
568
|
address: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
|
|
593
569
|
decimals: 6,
|
|
594
570
|
},
|
|
571
|
+
[ChainId.MOD]: {
|
|
572
|
+
address: '0xf0F161fDA2712DB8b566946122a5af183995e2eD',
|
|
573
|
+
decimals: 6,
|
|
574
|
+
},
|
|
595
575
|
},
|
|
596
576
|
},
|
|
597
577
|
// ======= STARGATE TESTNET TOKENS =======
|
|
@@ -793,10 +773,6 @@ export const basicCoins = [
|
|
|
793
773
|
address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
|
|
794
774
|
decimals: 6,
|
|
795
775
|
},
|
|
796
|
-
[ChainId.OKT]: {
|
|
797
|
-
address: '0xc946daf81b08146b1c7a8da2a851ddf2b3eaaf85',
|
|
798
|
-
decimals: 18,
|
|
799
|
-
},
|
|
800
776
|
[ChainId.CRO]: {
|
|
801
777
|
address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
|
|
802
778
|
decimals: 6,
|
|
@@ -846,6 +822,10 @@ export const basicCoins = [
|
|
|
846
822
|
address: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4',
|
|
847
823
|
decimals: 6,
|
|
848
824
|
},
|
|
825
|
+
[ChainId.MOD]: {
|
|
826
|
+
address: '0xd988097fb8612cc24eeC14542bC03424c656005f',
|
|
827
|
+
decimals: 6,
|
|
828
|
+
},
|
|
849
829
|
// Testnets
|
|
850
830
|
[ChainId.LNAT]: {
|
|
851
831
|
address: '0x964FF70695da981027c81020B1c58d833D49A640',
|
|
@@ -1033,10 +1013,6 @@ export const basicCoins = [
|
|
|
1033
1013
|
address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
|
|
1034
1014
|
decimals: 8,
|
|
1035
1015
|
},
|
|
1036
|
-
[ChainId.OKT]: {
|
|
1037
|
-
address: '0x506f731f7656e2fb34b587b912808f2a7ab640bd',
|
|
1038
|
-
decimals: 18,
|
|
1039
|
-
},
|
|
1040
1016
|
[ChainId.CRO]: {
|
|
1041
1017
|
address: '0x062e66477faf219f25d27dced647bf57c3107d52',
|
|
1042
1018
|
decimals: 8,
|
|
@@ -1173,6 +1149,10 @@ export const basicCoins = [
|
|
|
1173
1149
|
address: '0x5300000000000000000000000000000000000004',
|
|
1174
1150
|
decimals: 18,
|
|
1175
1151
|
},
|
|
1152
|
+
[ChainId.MOD]: {
|
|
1153
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1154
|
+
decimals: 18,
|
|
1155
|
+
},
|
|
1176
1156
|
// Testnets
|
|
1177
1157
|
[ChainId.OPTG]: {
|
|
1178
1158
|
address: '0x4200000000000000000000000000000000000006',
|
|
@@ -1237,10 +1217,6 @@ export const basicCoins = [
|
|
|
1237
1217
|
address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
|
|
1238
1218
|
decimals: 18,
|
|
1239
1219
|
},
|
|
1240
|
-
[ChainId.OKT]: {
|
|
1241
|
-
address: '0x2218e0d5e0173769f5b4939a3ae423f7e5e4eab7',
|
|
1242
|
-
decimals: 18,
|
|
1243
|
-
},
|
|
1244
1220
|
[ChainId.HEC]: {
|
|
1245
1221
|
address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
|
|
1246
1222
|
decimals: 18,
|
|
@@ -1705,15 +1681,6 @@ export const wrappedTokens = {
|
|
|
1705
1681
|
name: 'WMOVR',
|
|
1706
1682
|
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1707
1683
|
},
|
|
1708
|
-
[ChainId.OKT]: {
|
|
1709
|
-
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
|
|
1710
|
-
symbol: 'wOKT',
|
|
1711
|
-
decimals: 18,
|
|
1712
|
-
chainId: ChainId.OKT,
|
|
1713
|
-
coinKey: 'wOKT',
|
|
1714
|
-
name: 'wOKT',
|
|
1715
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
1716
|
-
},
|
|
1717
1684
|
[ChainId.HEC]: {
|
|
1718
1685
|
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1719
1686
|
symbol: 'wHT',
|
|
@@ -1814,6 +1781,16 @@ export const wrappedTokens = {
|
|
|
1814
1781
|
name: 'WETH',
|
|
1815
1782
|
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1816
1783
|
},
|
|
1784
|
+
[ChainId.MOD]: {
|
|
1785
|
+
// https://explorer.mode.network/token/0x4200000000000000000000000000000000000006
|
|
1786
|
+
address: '0x4200000000000000000000000000000000000006',
|
|
1787
|
+
symbol: 'WETH',
|
|
1788
|
+
decimals: 18,
|
|
1789
|
+
chainId: ChainId.MOD,
|
|
1790
|
+
coinKey: CoinKey.WETH,
|
|
1791
|
+
name: 'WETH',
|
|
1792
|
+
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1793
|
+
},
|
|
1817
1794
|
// Testnets
|
|
1818
1795
|
[ChainId.ONET]: {
|
|
1819
1796
|
address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
|
package/dist/multicall.js
CHANGED
|
@@ -12,7 +12,6 @@ export const multicallAddresses = {
|
|
|
12
12
|
[ChainId.POL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
13
13
|
[ChainId.BSC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
14
14
|
[ChainId.DAI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
15
|
-
[ChainId.OKT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
16
15
|
[ChainId.FTM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
17
16
|
[ChainId.AVA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
18
17
|
[ChainId.ARB]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
@@ -38,6 +37,7 @@ export const multicallAddresses = {
|
|
|
38
37
|
[ChainId.ARN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
39
38
|
[ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
40
39
|
[ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
40
|
+
[ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
41
41
|
// TODO
|
|
42
42
|
// [ChainId.EXP]: '', // TODO
|
|
43
43
|
// [ChainId.TCH]: '', // TODO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/data-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Data types for the LI.FI stack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdk",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@lifi/types": "^
|
|
66
|
+
"@lifi/types": "^13.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@commitlint/cli": "^17.7.1",
|