@lifi/data-types 6.20.0 → 6.21.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 +22 -0
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -1
- package/src/_cjs/coins/coins.js +46 -0
- package/src/_cjs/coins/coins.js.map +1 -1
- package/src/_cjs/multicall.js +1 -0
- package/src/_cjs/multicall.js.map +1 -1
- package/src/_esm/chains/supportedChains.evm.js +22 -0
- package/src/_esm/chains/supportedChains.evm.js.map +1 -1
- package/src/_esm/coins/coins.js +47 -0
- package/src/_esm/coins/coins.js.map +1 -1
- package/src/_esm/multicall.js +1 -0
- package/src/_esm/multicall.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/_types/multicall.d.ts.map +1 -1
- package/src/chains/supportedChains.evm.ts +25 -0
- package/src/coins/coins.ts +51 -0
- package/src/multicall.ts +1 -0
package/src/coins/coins.ts
CHANGED
|
@@ -791,6 +791,10 @@ export const basicCoins: BasicCoin[] = [
|
|
|
791
791
|
address: '0x05D032ac25d322df992303dCa074EE7392C117b9',
|
|
792
792
|
decimals: 6,
|
|
793
793
|
},
|
|
794
|
+
[ChainId.NIB]: {
|
|
795
|
+
address: '0x43F2376D5D03553aE72F4A8093bbe9de4336EB08',
|
|
796
|
+
decimals: 6,
|
|
797
|
+
},
|
|
794
798
|
},
|
|
795
799
|
},
|
|
796
800
|
|
|
@@ -1106,6 +1110,11 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1106
1110
|
decimals: 6,
|
|
1107
1111
|
name: 'Bridged USDC (Stargate)',
|
|
1108
1112
|
},
|
|
1113
|
+
[ChainId.NIB]: {
|
|
1114
|
+
address: '0x0829F361A05D993d5CEb035cA6DF3446b060970b',
|
|
1115
|
+
decimals: 6,
|
|
1116
|
+
name: 'Bridged USDC (Stargate)',
|
|
1117
|
+
},
|
|
1109
1118
|
},
|
|
1110
1119
|
},
|
|
1111
1120
|
// axlUSDC
|
|
@@ -1745,6 +1754,10 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1745
1754
|
address: '0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590',
|
|
1746
1755
|
decimals: 18,
|
|
1747
1756
|
},
|
|
1757
|
+
[ChainId.NIB]: {
|
|
1758
|
+
address: '0xcdA5b77E2E2268D9E09c874c1b9A4c3F07b37555',
|
|
1759
|
+
decimals: 18,
|
|
1760
|
+
},
|
|
1748
1761
|
},
|
|
1749
1762
|
},
|
|
1750
1763
|
|
|
@@ -2539,6 +2552,34 @@ export const basicCoins: BasicCoin[] = [
|
|
|
2539
2552
|
},
|
|
2540
2553
|
},
|
|
2541
2554
|
|
|
2555
|
+
// Nibiru
|
|
2556
|
+
{
|
|
2557
|
+
key: CoinKey.NIBI,
|
|
2558
|
+
name: 'Nibiru',
|
|
2559
|
+
logoURI:
|
|
2560
|
+
'https://imgproxy-mainnet.routescan.io/WWpIrHMBrbtXh7cze-P7tXuoP5Yq2sQ0NSmuhhHzkNk/pr:thumb_32/aHR0cHM6Ly9jbXMtY2RuLmF2YXNjYW4uY29tL2NtczIvNjkwMF90b2tlbi40ZGNkYTQ1YmU0Yzkuc3Zn',
|
|
2561
|
+
verified: true,
|
|
2562
|
+
chains: {
|
|
2563
|
+
[ChainId.NIB]: {
|
|
2564
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
2565
|
+
decimals: 18,
|
|
2566
|
+
},
|
|
2567
|
+
},
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
key: CoinKey.WNIBI,
|
|
2571
|
+
name: 'Wrapped Nibiru',
|
|
2572
|
+
logoURI:
|
|
2573
|
+
'https://imgproxy-mainnet.routescan.io/YdqQPP3gmq7jNmVn_eGpqsyDfw1V2DQw5-pR6CUe3oU/pr:thumb_32/aHR0cHM6Ly9jbXMtY2RuLmF2YXNjYW4uY29tL2NtczIvMDAwX25pYmlydS1ldm0uZDA4NTQzZjg4Mjg0LnBuZw',
|
|
2574
|
+
verified: true,
|
|
2575
|
+
chains: {
|
|
2576
|
+
[ChainId.NIB]: {
|
|
2577
|
+
address: '0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97',
|
|
2578
|
+
decimals: 18,
|
|
2579
|
+
},
|
|
2580
|
+
},
|
|
2581
|
+
},
|
|
2582
|
+
|
|
2542
2583
|
// > Bitcoin
|
|
2543
2584
|
{
|
|
2544
2585
|
key: CoinKey.BTC,
|
|
@@ -3230,6 +3271,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
|
3230
3271
|
logoURI:
|
|
3231
3272
|
'https://static.debank.com/image/vana_token/logo_url/0x00eddd9621fb08436d0331c149d1690909a5906d/732f5948570498c551fb29bc71c88296.png',
|
|
3232
3273
|
},
|
|
3274
|
+
[ChainId.NIB]: {
|
|
3275
|
+
address: '0x0CaCF669f8446BeCA826913a3c6B96aCD4b02a97',
|
|
3276
|
+
symbol: CoinKey.WNIBI,
|
|
3277
|
+
decimals: 18,
|
|
3278
|
+
chainId: ChainId.NIB,
|
|
3279
|
+
coinKey: CoinKey.WNIBI,
|
|
3280
|
+
name: 'Wrapped Nibiru',
|
|
3281
|
+
logoURI:
|
|
3282
|
+
'https://imgproxy-mainnet.routescan.io/YdqQPP3gmq7jNmVn_eGpqsyDfw1V2DQw5-pR6CUe3oU/pr:thumb_32/aHR0cHM6Ly9jbXMtY2RuLmF2YXNjYW4uY29tL2NtczIvMDAwX25pYmlydS1ldm0uZDA4NTQzZjg4Mjg0LnBuZw',
|
|
3283
|
+
},
|
|
3233
3284
|
}
|
|
3234
3285
|
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
|
|
3235
3286
|
const coin = defaultCoins.find((coin) => coin.key === coinKey)
|
package/src/multicall.ts
CHANGED
|
@@ -68,6 +68,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
|
|
|
68
68
|
[ChainId.FLR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
69
69
|
[ChainId.KAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
70
70
|
[ChainId.VAN]: '0xD8d2dFca27E8797fd779F8547166A2d3B29d360E',
|
|
71
|
+
[ChainId.NIB]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
71
72
|
|
|
72
73
|
// TODO
|
|
73
74
|
// [ChainId.EXP]: '', // TODO
|