@lifi/data-types 6.14.6 → 6.15.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 +29 -1
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -1
- package/src/_cjs/coins/coins.js +37 -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 +29 -1
- package/src/_esm/chains/supportedChains.evm.js.map +1 -1
- package/src/_esm/coins/coins.js +38 -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 +32 -1
- package/src/coins/coins.ts +42 -0
- package/src/multicall.ts +1 -0
package/src/coins/coins.ts
CHANGED
|
@@ -767,6 +767,10 @@ export const basicCoins: BasicCoin[] = [
|
|
|
767
767
|
decimals: 6,
|
|
768
768
|
name: 'Bridged USDT (Etherlink)',
|
|
769
769
|
},
|
|
770
|
+
[ChainId.VIC]: {
|
|
771
|
+
address: '0x69b946132b4a6c74cd29ba3ff614ceea1ef9ff2b',
|
|
772
|
+
decimals: 6,
|
|
773
|
+
},
|
|
770
774
|
},
|
|
771
775
|
},
|
|
772
776
|
|
|
@@ -2345,6 +2349,34 @@ export const basicCoins: BasicCoin[] = [
|
|
|
2345
2349
|
},
|
|
2346
2350
|
},
|
|
2347
2351
|
|
|
2352
|
+
// Viction
|
|
2353
|
+
{
|
|
2354
|
+
key: CoinKey.VIC,
|
|
2355
|
+
name: 'Viction',
|
|
2356
|
+
logoURI:
|
|
2357
|
+
'https://assets.coingecko.com/coins/images/3416/standard/viction.jpeg?1698894318',
|
|
2358
|
+
verified: true,
|
|
2359
|
+
chains: {
|
|
2360
|
+
[ChainId.VIC]: {
|
|
2361
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
2362
|
+
decimals: 18,
|
|
2363
|
+
},
|
|
2364
|
+
},
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
key: CoinKey.WVIC,
|
|
2368
|
+
name: 'Wrapped Viction',
|
|
2369
|
+
logoURI:
|
|
2370
|
+
'https://assets.coingecko.com/coins/images/53427/standard/viction.jpg?1740640829',
|
|
2371
|
+
verified: true,
|
|
2372
|
+
chains: {
|
|
2373
|
+
[ChainId.VIC]: {
|
|
2374
|
+
address: '0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce',
|
|
2375
|
+
decimals: 18,
|
|
2376
|
+
},
|
|
2377
|
+
},
|
|
2378
|
+
},
|
|
2379
|
+
|
|
2348
2380
|
// > Bitcoin
|
|
2349
2381
|
{
|
|
2350
2382
|
key: CoinKey.BTC,
|
|
@@ -2996,6 +3028,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
|
2996
3028
|
logoURI:
|
|
2997
3029
|
'https://assets.coingecko.com/coins/images/51172/standard/WXTZ_Logo_black.png?1741099768',
|
|
2998
3030
|
},
|
|
3031
|
+
[ChainId.VIC]: {
|
|
3032
|
+
address: '0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce',
|
|
3033
|
+
symbol: CoinKey.WVIC,
|
|
3034
|
+
decimals: 18,
|
|
3035
|
+
chainId: ChainId.VIC,
|
|
3036
|
+
coinKey: CoinKey.WVIC,
|
|
3037
|
+
name: 'Wrapped Viction',
|
|
3038
|
+
logoURI:
|
|
3039
|
+
'https://assets.coingecko.com/coins/images/53427/standard/viction.jpg?1740640829',
|
|
3040
|
+
},
|
|
2999
3041
|
}
|
|
3000
3042
|
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
|
|
3001
3043
|
const coin = defaultCoins.find((coin) => coin.key === coinKey)
|
package/src/multicall.ts
CHANGED
|
@@ -64,6 +64,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
|
|
|
64
64
|
[ChainId.XDC]: '0x0b1795cca8e4ec4df02346a082df54d437f8d9af',
|
|
65
65
|
[ChainId.BOC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
66
66
|
[ChainId.ETL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
67
|
+
[ChainId.VIC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
67
68
|
|
|
68
69
|
// TODO
|
|
69
70
|
// [ChainId.EXP]: '', // TODO
|