@lifi/data-types 6.41.1 → 6.42.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/package.json +2 -2
- package/src/_cjs/chains/supportedChains.evm.js +4 -28
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -1
- package/src/_cjs/coins/coins.js +4 -0
- package/src/_cjs/coins/coins.js.map +1 -1
- package/src/_esm/chains/supportedChains.evm.js +4 -30
- package/src/_esm/chains/supportedChains.evm.js.map +1 -1
- package/src/_esm/coins/coins.js +4 -0
- package/src/_esm/coins/coins.js.map +1 -1
- package/src/_types/chains/supportedChains.evm.d.ts.map +1 -1
- package/src/_types/coins/coins.d.ts.map +1 -1
- package/src/chains/supportedChains.evm.ts +4 -33
- package/src/coins/coins.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coins.d.ts","sourceRoot":"","sources":["../../coins/coins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,IAAI,EAAE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAE3E,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"coins.d.ts","sourceRoot":"","sources":["../../coins/coins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,IAAI,EAAE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAE3E,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,SAAS,EAk/FjC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,IAAI,CAsBnC,CAAA;AAGF,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAA;CAksB3D,CAAA;AACD,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,KAAG,IAMlD,CAAA;AACD,eAAO,MAAM,gBAAgB,GAC3B,SAAS,OAAO,EAChB,SAAS,OAAO,KACf,WAOF,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,KAAG,WAMxD,CAAA;AAED,eAAO,MAAM,4BAA4B,GACvC,SAAS,MAAM,EACf,cAAc,MAAM,KACnB,WAAW,GAAG,IAUhB,CAAA"}
|
|
@@ -165,7 +165,6 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
165
165
|
rpcUrls: [
|
|
166
166
|
'https://rpcapi.fantom.network',
|
|
167
167
|
'https://rpc.fantom.network',
|
|
168
|
-
'https://fantom-rpc.publicnode.com',
|
|
169
168
|
'https://fantom.drpc.org',
|
|
170
169
|
],
|
|
171
170
|
},
|
|
@@ -263,31 +262,6 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
263
262
|
},
|
|
264
263
|
},
|
|
265
264
|
|
|
266
|
-
// 32659 - Fusion (anyswap)
|
|
267
|
-
{
|
|
268
|
-
key: ChainKey.FSN,
|
|
269
|
-
chainType: ChainType.EVM,
|
|
270
|
-
name: 'Fusion Mainnet',
|
|
271
|
-
coin: CoinKey.FSN,
|
|
272
|
-
id: 32659,
|
|
273
|
-
logoURI:
|
|
274
|
-
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fusion.svg',
|
|
275
|
-
mainnet: true,
|
|
276
|
-
multicallAddress: multicallAddresses[ChainId.FSN],
|
|
277
|
-
// https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
|
|
278
|
-
metamask: {
|
|
279
|
-
chainId: prefixChainId(32659),
|
|
280
|
-
blockExplorerUrls: ['https://fsnscan.com/'],
|
|
281
|
-
chainName: 'Fusion Mainnet',
|
|
282
|
-
nativeCurrency: {
|
|
283
|
-
name: 'FSN',
|
|
284
|
-
symbol: 'FSN',
|
|
285
|
-
decimals: 18,
|
|
286
|
-
},
|
|
287
|
-
rpcUrls: ['https://mainnet.fusionnetwork.io'],
|
|
288
|
-
},
|
|
289
|
-
},
|
|
290
|
-
|
|
291
265
|
// 1666600000 - Harmony Mainnet Shard 0
|
|
292
266
|
{
|
|
293
267
|
key: ChainKey.ONE,
|
|
@@ -449,7 +423,7 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
449
423
|
symbol: 'TLOS',
|
|
450
424
|
decimals: 18,
|
|
451
425
|
},
|
|
452
|
-
rpcUrls: ['https://
|
|
426
|
+
rpcUrls: ['https://rpc.telos.net'],
|
|
453
427
|
},
|
|
454
428
|
},
|
|
455
429
|
// 25 Cronos Mainnet Beta
|
|
@@ -643,10 +617,9 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
643
617
|
logoURI:
|
|
644
618
|
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/zkevm.svg',
|
|
645
619
|
multicallAddress: multicallAddresses[ChainId.PZE],
|
|
646
|
-
|
|
647
620
|
metamask: {
|
|
648
621
|
chainId: prefixChainId(1101),
|
|
649
|
-
blockExplorerUrls: ['https://
|
|
622
|
+
blockExplorerUrls: ['https://www.oklink.com/polygon-zkevm/'],
|
|
650
623
|
chainName: 'Polygon zkEVM',
|
|
651
624
|
nativeCurrency: {
|
|
652
625
|
name: 'ETH',
|
|
@@ -1782,7 +1755,7 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
1782
1755
|
symbol: CoinKey.ETH,
|
|
1783
1756
|
decimals: 18,
|
|
1784
1757
|
},
|
|
1785
|
-
rpcUrls: ['
|
|
1758
|
+
rpcUrls: ['https://rpc.hemi.network/rpc'],
|
|
1786
1759
|
},
|
|
1787
1760
|
},
|
|
1788
1761
|
|
|
@@ -1806,9 +1779,7 @@ export const supportedEVMChains: EVMChain[] = [
|
|
|
1806
1779
|
symbol: CoinKey.MON,
|
|
1807
1780
|
decimals: 18,
|
|
1808
1781
|
},
|
|
1809
|
-
rpcUrls: [
|
|
1810
|
-
'https://rpc-mainnet.monadinfra.com/rpc/zliz8RDn0a7khauKARW6AUKT7UaqQeAc',
|
|
1811
|
-
], // FIXME: private rpc, replace once we have a public one
|
|
1782
|
+
rpcUrls: ['https://mon-rpc.transferto.xyz'],
|
|
1812
1783
|
},
|
|
1813
1784
|
},
|
|
1814
1785
|
]
|
package/src/coins/coins.ts
CHANGED
|
@@ -1491,6 +1491,10 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1491
1491
|
address: '0x0000000000000000000000000000000000000000',
|
|
1492
1492
|
decimals: 18,
|
|
1493
1493
|
},
|
|
1494
|
+
[ChainId.HPL]: {
|
|
1495
|
+
address: '0x0D01DC56DcaaCa66aD901c959B4011ec00000000',
|
|
1496
|
+
decimals: 8,
|
|
1497
|
+
},
|
|
1494
1498
|
},
|
|
1495
1499
|
},
|
|
1496
1500
|
{
|