@lifi/data-types 3.1.0 → 4.1.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 +30 -25
- package/dist/cjs/chains/supportedChains.evm.js +30 -25
- 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,7 +850,7 @@ export const supportedEVMChains = [
|
|
|
874
850
|
],
|
|
875
851
|
},
|
|
876
852
|
},
|
|
877
|
-
//
|
|
853
|
+
// 34443 - Mode
|
|
878
854
|
{
|
|
879
855
|
key: ChainKey.MOD,
|
|
880
856
|
chainType: ChainType.EVM,
|
|
@@ -899,6 +875,35 @@ export const supportedEVMChains = [
|
|
|
899
875
|
rpcUrls: ['https://mainnet.mode.network/', 'https://mode.drpc.org'],
|
|
900
876
|
},
|
|
901
877
|
},
|
|
878
|
+
// 5000 - Mantle
|
|
879
|
+
{
|
|
880
|
+
key: ChainKey.MNT,
|
|
881
|
+
chainType: ChainType.EVM,
|
|
882
|
+
name: 'Mantle',
|
|
883
|
+
coin: CoinKey.MNT,
|
|
884
|
+
id: 5000,
|
|
885
|
+
mainnet: true,
|
|
886
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mantle.svg',
|
|
887
|
+
multicallAddress: multicallAddresses[ChainId.MNT],
|
|
888
|
+
metamask: {
|
|
889
|
+
chainId: prefixChainId(5000),
|
|
890
|
+
blockExplorerUrls: [
|
|
891
|
+
'https://explorer.mantle.xyz',
|
|
892
|
+
'https://mantle.socialscan.io/',
|
|
893
|
+
],
|
|
894
|
+
chainName: 'Mantle',
|
|
895
|
+
nativeCurrency: {
|
|
896
|
+
name: 'Mantle',
|
|
897
|
+
symbol: 'MNT',
|
|
898
|
+
decimals: 18,
|
|
899
|
+
},
|
|
900
|
+
rpcUrls: [
|
|
901
|
+
'https://rpc.mantle.xyz',
|
|
902
|
+
'https://mantle.public-rpc.com',
|
|
903
|
+
'https://rpc.ankr.com/mantle',
|
|
904
|
+
],
|
|
905
|
+
},
|
|
906
|
+
},
|
|
902
907
|
// TESTNETS
|
|
903
908
|
// 12 - Metadium Testnet
|
|
904
909
|
{
|
|
@@ -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,7 +853,7 @@ exports.supportedEVMChains = [
|
|
|
877
853
|
],
|
|
878
854
|
},
|
|
879
855
|
},
|
|
880
|
-
//
|
|
856
|
+
// 34443 - Mode
|
|
881
857
|
{
|
|
882
858
|
key: types_1.ChainKey.MOD,
|
|
883
859
|
chainType: types_1.ChainType.EVM,
|
|
@@ -902,6 +878,35 @@ exports.supportedEVMChains = [
|
|
|
902
878
|
rpcUrls: ['https://mainnet.mode.network/', 'https://mode.drpc.org'],
|
|
903
879
|
},
|
|
904
880
|
},
|
|
881
|
+
// 5000 - Mantle
|
|
882
|
+
{
|
|
883
|
+
key: types_1.ChainKey.MNT,
|
|
884
|
+
chainType: types_1.ChainType.EVM,
|
|
885
|
+
name: 'Mantle',
|
|
886
|
+
coin: types_1.CoinKey.MNT,
|
|
887
|
+
id: 5000,
|
|
888
|
+
mainnet: true,
|
|
889
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/mantle.svg',
|
|
890
|
+
multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.MNT],
|
|
891
|
+
metamask: {
|
|
892
|
+
chainId: (0, utils_1.prefixChainId)(5000),
|
|
893
|
+
blockExplorerUrls: [
|
|
894
|
+
'https://explorer.mantle.xyz',
|
|
895
|
+
'https://mantle.socialscan.io/',
|
|
896
|
+
],
|
|
897
|
+
chainName: 'Mantle',
|
|
898
|
+
nativeCurrency: {
|
|
899
|
+
name: 'Mantle',
|
|
900
|
+
symbol: 'MNT',
|
|
901
|
+
decimals: 18,
|
|
902
|
+
},
|
|
903
|
+
rpcUrls: [
|
|
904
|
+
'https://rpc.mantle.xyz',
|
|
905
|
+
'https://mantle.public-rpc.com',
|
|
906
|
+
'https://rpc.ankr.com/mantle',
|
|
907
|
+
],
|
|
908
|
+
},
|
|
909
|
+
},
|
|
905
910
|
// TESTNETS
|
|
906
911
|
// 12 - Metadium Testnet
|
|
907
912
|
{
|
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,
|
|
@@ -300,11 +294,6 @@ exports.basicCoins = [
|
|
|
300
294
|
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
301
295
|
decimals: 18,
|
|
302
296
|
},
|
|
303
|
-
[types_1.ChainId.OKT]: {
|
|
304
|
-
address: '0x21cde7e32a6caf4742d00d44b07279e7596d26b9',
|
|
305
|
-
decimals: 18,
|
|
306
|
-
symbol: 'DAIK',
|
|
307
|
-
},
|
|
308
297
|
[types_1.ChainId.CRO]: {
|
|
309
298
|
address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
|
|
310
299
|
decimals: 18,
|
|
@@ -371,19 +360,6 @@ exports.basicCoins = [
|
|
|
371
360
|
},
|
|
372
361
|
},
|
|
373
362
|
},
|
|
374
|
-
// > OKT
|
|
375
|
-
{
|
|
376
|
-
key: types_1.CoinKey.OKT,
|
|
377
|
-
name: types_1.CoinKey.OKT,
|
|
378
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
379
|
-
verified: true,
|
|
380
|
-
chains: {
|
|
381
|
-
[types_1.ChainId.OKT]: {
|
|
382
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
383
|
-
decimals: 18,
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
},
|
|
387
363
|
// > AVAX
|
|
388
364
|
{
|
|
389
365
|
key: types_1.CoinKey.AVAX,
|
|
@@ -532,10 +508,6 @@ exports.basicCoins = [
|
|
|
532
508
|
address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
|
|
533
509
|
decimals: 6,
|
|
534
510
|
},
|
|
535
|
-
[types_1.ChainId.OKT]: {
|
|
536
|
-
address: '0x382bb369d343125bfb2117af9c149795c6c65c50',
|
|
537
|
-
decimals: 18,
|
|
538
|
-
},
|
|
539
511
|
[types_1.ChainId.CRO]: {
|
|
540
512
|
address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
|
|
541
513
|
decimals: 6,
|
|
@@ -603,6 +575,10 @@ exports.basicCoins = [
|
|
|
603
575
|
address: '0xf0F161fDA2712DB8b566946122a5af183995e2eD',
|
|
604
576
|
decimals: 6,
|
|
605
577
|
},
|
|
578
|
+
[types_1.ChainId.MNT]: {
|
|
579
|
+
address: '0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE',
|
|
580
|
+
decimals: 6,
|
|
581
|
+
},
|
|
606
582
|
},
|
|
607
583
|
},
|
|
608
584
|
// ======= STARGATE TESTNET TOKENS =======
|
|
@@ -804,10 +780,6 @@ exports.basicCoins = [
|
|
|
804
780
|
address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
|
|
805
781
|
decimals: 6,
|
|
806
782
|
},
|
|
807
|
-
[types_1.ChainId.OKT]: {
|
|
808
|
-
address: '0xc946daf81b08146b1c7a8da2a851ddf2b3eaaf85',
|
|
809
|
-
decimals: 18,
|
|
810
|
-
},
|
|
811
783
|
[types_1.ChainId.CRO]: {
|
|
812
784
|
address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
|
|
813
785
|
decimals: 6,
|
|
@@ -861,6 +833,10 @@ exports.basicCoins = [
|
|
|
861
833
|
address: '0xd988097fb8612cc24eeC14542bC03424c656005f',
|
|
862
834
|
decimals: 6,
|
|
863
835
|
},
|
|
836
|
+
[types_1.ChainId.MNT]: {
|
|
837
|
+
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
838
|
+
decimals: 6,
|
|
839
|
+
},
|
|
864
840
|
// Testnets
|
|
865
841
|
[types_1.ChainId.LNAT]: {
|
|
866
842
|
address: '0x964FF70695da981027c81020B1c58d833D49A640',
|
|
@@ -1048,10 +1024,6 @@ exports.basicCoins = [
|
|
|
1048
1024
|
address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
|
|
1049
1025
|
decimals: 8,
|
|
1050
1026
|
},
|
|
1051
|
-
[types_1.ChainId.OKT]: {
|
|
1052
|
-
address: '0x506f731f7656e2fb34b587b912808f2a7ab640bd',
|
|
1053
|
-
decimals: 18,
|
|
1054
|
-
},
|
|
1055
1027
|
[types_1.ChainId.CRO]: {
|
|
1056
1028
|
address: '0x062e66477faf219f25d27dced647bf57c3107d52',
|
|
1057
1029
|
decimals: 8,
|
|
@@ -1084,6 +1056,10 @@ exports.basicCoins = [
|
|
|
1084
1056
|
address: '0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1',
|
|
1085
1057
|
decimals: 8,
|
|
1086
1058
|
},
|
|
1059
|
+
[types_1.ChainId.MNT]: {
|
|
1060
|
+
address: '0xCAbAE6f6Ea1ecaB08Ad02fE02ce9A44F09aebfA2',
|
|
1061
|
+
decimals: 8,
|
|
1062
|
+
},
|
|
1087
1063
|
},
|
|
1088
1064
|
},
|
|
1089
1065
|
// > WETH
|
|
@@ -1192,6 +1168,10 @@ exports.basicCoins = [
|
|
|
1192
1168
|
address: '0x4200000000000000000000000000000000000006',
|
|
1193
1169
|
decimals: 18,
|
|
1194
1170
|
},
|
|
1171
|
+
[types_1.ChainId.MNT]: {
|
|
1172
|
+
address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
|
|
1173
|
+
decimals: 18,
|
|
1174
|
+
},
|
|
1195
1175
|
// Testnets
|
|
1196
1176
|
[types_1.ChainId.OPTG]: {
|
|
1197
1177
|
address: '0x4200000000000000000000000000000000000006',
|
|
@@ -1256,10 +1236,6 @@ exports.basicCoins = [
|
|
|
1256
1236
|
address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
|
|
1257
1237
|
decimals: 18,
|
|
1258
1238
|
},
|
|
1259
|
-
[types_1.ChainId.OKT]: {
|
|
1260
|
-
address: '0x2218e0d5e0173769f5b4939a3ae423f7e5e4eab7',
|
|
1261
|
-
decimals: 18,
|
|
1262
|
-
},
|
|
1263
1239
|
[types_1.ChainId.HEC]: {
|
|
1264
1240
|
address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
|
|
1265
1241
|
decimals: 18,
|
|
@@ -1724,15 +1700,6 @@ exports.wrappedTokens = {
|
|
|
1724
1700
|
name: 'WMOVR',
|
|
1725
1701
|
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1726
1702
|
},
|
|
1727
|
-
[types_1.ChainId.OKT]: {
|
|
1728
|
-
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
|
|
1729
|
-
symbol: 'wOKT',
|
|
1730
|
-
decimals: 18,
|
|
1731
|
-
chainId: types_1.ChainId.OKT,
|
|
1732
|
-
coinKey: 'wOKT',
|
|
1733
|
-
name: 'wOKT',
|
|
1734
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
1735
|
-
},
|
|
1736
1703
|
[types_1.ChainId.HEC]: {
|
|
1737
1704
|
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1738
1705
|
symbol: 'wHT',
|
|
@@ -1843,6 +1810,16 @@ exports.wrappedTokens = {
|
|
|
1843
1810
|
name: 'WETH',
|
|
1844
1811
|
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1845
1812
|
},
|
|
1813
|
+
[types_1.ChainId.MNT]: {
|
|
1814
|
+
// https://explorer.mantle.xyz/token/0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8
|
|
1815
|
+
address: '0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8',
|
|
1816
|
+
symbol: 'WMNT',
|
|
1817
|
+
decimals: 18,
|
|
1818
|
+
chainId: types_1.ChainId.MNT,
|
|
1819
|
+
coinKey: types_1.CoinKey.WMNT,
|
|
1820
|
+
name: 'WMNT',
|
|
1821
|
+
logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
|
|
1822
|
+
},
|
|
1846
1823
|
// Testnets
|
|
1847
1824
|
[types_1.ChainId.ONET]: {
|
|
1848
1825
|
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',
|
|
@@ -42,6 +41,7 @@ exports.multicallAddresses = {
|
|
|
42
41
|
[types_1.ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
43
42
|
[types_1.ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
44
43
|
[types_1.ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
44
|
+
[types_1.ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
45
45
|
// TODO
|
|
46
46
|
// [ChainId.EXP]: '', // TODO
|
|
47
47
|
// [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,
|
|
@@ -297,11 +291,6 @@ export const basicCoins = [
|
|
|
297
291
|
address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
|
|
298
292
|
decimals: 18,
|
|
299
293
|
},
|
|
300
|
-
[ChainId.OKT]: {
|
|
301
|
-
address: '0x21cde7e32a6caf4742d00d44b07279e7596d26b9',
|
|
302
|
-
decimals: 18,
|
|
303
|
-
symbol: 'DAIK',
|
|
304
|
-
},
|
|
305
294
|
[ChainId.CRO]: {
|
|
306
295
|
address: '0xf2001b145b43032aaf5ee2884e456ccd805f677d',
|
|
307
296
|
decimals: 18,
|
|
@@ -368,19 +357,6 @@ export const basicCoins = [
|
|
|
368
357
|
},
|
|
369
358
|
},
|
|
370
359
|
},
|
|
371
|
-
// > OKT
|
|
372
|
-
{
|
|
373
|
-
key: CoinKey.OKT,
|
|
374
|
-
name: CoinKey.OKT,
|
|
375
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
376
|
-
verified: true,
|
|
377
|
-
chains: {
|
|
378
|
-
[ChainId.OKT]: {
|
|
379
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
380
|
-
decimals: 18,
|
|
381
|
-
},
|
|
382
|
-
},
|
|
383
|
-
},
|
|
384
360
|
// > AVAX
|
|
385
361
|
{
|
|
386
362
|
key: CoinKey.AVAX,
|
|
@@ -529,10 +505,6 @@ export const basicCoins = [
|
|
|
529
505
|
address: '0xb44a9b6905af7c801311e8f4e76932ee959c663c',
|
|
530
506
|
decimals: 6,
|
|
531
507
|
},
|
|
532
|
-
[ChainId.OKT]: {
|
|
533
|
-
address: '0x382bb369d343125bfb2117af9c149795c6c65c50',
|
|
534
|
-
decimals: 18,
|
|
535
|
-
},
|
|
536
508
|
[ChainId.CRO]: {
|
|
537
509
|
address: '0x66e428c3f67a68878562e79a0234c1f83c208770',
|
|
538
510
|
decimals: 6,
|
|
@@ -600,6 +572,10 @@ export const basicCoins = [
|
|
|
600
572
|
address: '0xf0F161fDA2712DB8b566946122a5af183995e2eD',
|
|
601
573
|
decimals: 6,
|
|
602
574
|
},
|
|
575
|
+
[ChainId.MNT]: {
|
|
576
|
+
address: '0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE',
|
|
577
|
+
decimals: 6,
|
|
578
|
+
},
|
|
603
579
|
},
|
|
604
580
|
},
|
|
605
581
|
// ======= STARGATE TESTNET TOKENS =======
|
|
@@ -801,10 +777,6 @@ export const basicCoins = [
|
|
|
801
777
|
address: '0x9362bbef4b8313a8aa9f0c9808b80577aa26b73b',
|
|
802
778
|
decimals: 6,
|
|
803
779
|
},
|
|
804
|
-
[ChainId.OKT]: {
|
|
805
|
-
address: '0xc946daf81b08146b1c7a8da2a851ddf2b3eaaf85',
|
|
806
|
-
decimals: 18,
|
|
807
|
-
},
|
|
808
780
|
[ChainId.CRO]: {
|
|
809
781
|
address: '0xc21223249ca28397b4b6541dffaecc539bff0c59',
|
|
810
782
|
decimals: 6,
|
|
@@ -858,6 +830,10 @@ export const basicCoins = [
|
|
|
858
830
|
address: '0xd988097fb8612cc24eeC14542bC03424c656005f',
|
|
859
831
|
decimals: 6,
|
|
860
832
|
},
|
|
833
|
+
[ChainId.MNT]: {
|
|
834
|
+
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
835
|
+
decimals: 6,
|
|
836
|
+
},
|
|
861
837
|
// Testnets
|
|
862
838
|
[ChainId.LNAT]: {
|
|
863
839
|
address: '0x964FF70695da981027c81020B1c58d833D49A640',
|
|
@@ -1045,10 +1021,6 @@ export const basicCoins = [
|
|
|
1045
1021
|
address: '0xe6a991ffa8cfe62b0bf6bf72959a3d4f11b2e0f5',
|
|
1046
1022
|
decimals: 8,
|
|
1047
1023
|
},
|
|
1048
|
-
[ChainId.OKT]: {
|
|
1049
|
-
address: '0x506f731f7656e2fb34b587b912808f2a7ab640bd',
|
|
1050
|
-
decimals: 18,
|
|
1051
|
-
},
|
|
1052
1024
|
[ChainId.CRO]: {
|
|
1053
1025
|
address: '0x062e66477faf219f25d27dced647bf57c3107d52',
|
|
1054
1026
|
decimals: 8,
|
|
@@ -1081,6 +1053,10 @@ export const basicCoins = [
|
|
|
1081
1053
|
address: '0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1',
|
|
1082
1054
|
decimals: 8,
|
|
1083
1055
|
},
|
|
1056
|
+
[ChainId.MNT]: {
|
|
1057
|
+
address: '0xCAbAE6f6Ea1ecaB08Ad02fE02ce9A44F09aebfA2',
|
|
1058
|
+
decimals: 8,
|
|
1059
|
+
},
|
|
1084
1060
|
},
|
|
1085
1061
|
},
|
|
1086
1062
|
// > WETH
|
|
@@ -1189,6 +1165,10 @@ export const basicCoins = [
|
|
|
1189
1165
|
address: '0x4200000000000000000000000000000000000006',
|
|
1190
1166
|
decimals: 18,
|
|
1191
1167
|
},
|
|
1168
|
+
[ChainId.MNT]: {
|
|
1169
|
+
address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
|
|
1170
|
+
decimals: 18,
|
|
1171
|
+
},
|
|
1192
1172
|
// Testnets
|
|
1193
1173
|
[ChainId.OPTG]: {
|
|
1194
1174
|
address: '0x4200000000000000000000000000000000000006',
|
|
@@ -1253,10 +1233,6 @@ export const basicCoins = [
|
|
|
1253
1233
|
address: '0xf390830df829cf22c53c8840554b98eafc5dcbc2',
|
|
1254
1234
|
decimals: 18,
|
|
1255
1235
|
},
|
|
1256
|
-
[ChainId.OKT]: {
|
|
1257
|
-
address: '0x2218e0d5e0173769f5b4939a3ae423f7e5e4eab7',
|
|
1258
|
-
decimals: 18,
|
|
1259
|
-
},
|
|
1260
1236
|
[ChainId.HEC]: {
|
|
1261
1237
|
address: '0x52e00b2da5bd7940ffe26b609a42f957f31118d5',
|
|
1262
1238
|
decimals: 18,
|
|
@@ -1721,15 +1697,6 @@ export const wrappedTokens = {
|
|
|
1721
1697
|
name: 'WMOVR',
|
|
1722
1698
|
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1723
1699
|
},
|
|
1724
|
-
[ChainId.OKT]: {
|
|
1725
|
-
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
|
|
1726
|
-
symbol: 'wOKT',
|
|
1727
|
-
decimals: 18,
|
|
1728
|
-
chainId: ChainId.OKT,
|
|
1729
|
-
coinKey: 'wOKT',
|
|
1730
|
-
name: 'wOKT',
|
|
1731
|
-
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
1732
|
-
},
|
|
1733
1700
|
[ChainId.HEC]: {
|
|
1734
1701
|
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1735
1702
|
symbol: 'wHT',
|
|
@@ -1840,6 +1807,16 @@ export const wrappedTokens = {
|
|
|
1840
1807
|
name: 'WETH',
|
|
1841
1808
|
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1842
1809
|
},
|
|
1810
|
+
[ChainId.MNT]: {
|
|
1811
|
+
// https://explorer.mantle.xyz/token/0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8
|
|
1812
|
+
address: '0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8',
|
|
1813
|
+
symbol: 'WMNT',
|
|
1814
|
+
decimals: 18,
|
|
1815
|
+
chainId: ChainId.MNT,
|
|
1816
|
+
coinKey: CoinKey.WMNT,
|
|
1817
|
+
name: 'WMNT',
|
|
1818
|
+
logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
|
|
1819
|
+
},
|
|
1843
1820
|
// Testnets
|
|
1844
1821
|
[ChainId.ONET]: {
|
|
1845
1822
|
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',
|
|
@@ -39,6 +38,7 @@ export const multicallAddresses = {
|
|
|
39
38
|
[ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
40
39
|
[ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
41
40
|
[ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
41
|
+
[ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
42
42
|
// TODO
|
|
43
43
|
// [ChainId.EXP]: '', // TODO
|
|
44
44
|
// [ChainId.TCH]: '', // TODO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/data-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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.3.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@commitlint/cli": "^17.7.1",
|