@lifi/data-types 5.28.0-beta.3 → 5.28.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 +0 -45
- package/src/_cjs/chains/supportedChains.evm.js.map +1 -1
- package/src/_cjs/coins/coins.js +0 -50
- package/src/_cjs/coins/coins.js.map +1 -1
- package/src/_cjs/multicall.js +0 -2
- package/src/_cjs/multicall.js.map +1 -1
- package/src/_esm/chains/supportedChains.evm.js +0 -47
- package/src/_esm/chains/supportedChains.evm.js.map +1 -1
- package/src/_esm/coins/coins.js +1 -54
- package/src/_esm/coins/coins.js.map +1 -1
- package/src/_esm/multicall.js +0 -2
- 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 +0 -53
- package/src/coins/coins.ts +1 -59
- package/src/multicall.ts +0 -2
package/src/coins/coins.ts
CHANGED
|
@@ -143,10 +143,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
143
143
|
address: '0x0000000000000000000000000000000000000000',
|
|
144
144
|
decimals: 18,
|
|
145
145
|
},
|
|
146
|
-
[ChainId.UNI]: {
|
|
147
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
148
|
-
decimals: 18,
|
|
149
|
-
},
|
|
150
146
|
},
|
|
151
147
|
},
|
|
152
148
|
// > MATIC
|
|
@@ -363,10 +359,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
363
359
|
address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4',
|
|
364
360
|
decimals: 18,
|
|
365
361
|
},
|
|
366
|
-
[ChainId.UNI]: {
|
|
367
|
-
address: '0x20CAb320A855b39F724131C69424240519573f81',
|
|
368
|
-
decimals: 18,
|
|
369
|
-
},
|
|
370
362
|
},
|
|
371
363
|
},
|
|
372
364
|
// > FTM
|
|
@@ -836,10 +828,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
836
828
|
address: '0x74b7f16337b8972027f6196a17a631ac6de26d22',
|
|
837
829
|
decimals: 6,
|
|
838
830
|
},
|
|
839
|
-
[ChainId.UNI]: {
|
|
840
|
-
address: '0x078D782b760474a361dDA0AF3839290b0EF57AD6',
|
|
841
|
-
decimals: 6,
|
|
842
|
-
},
|
|
843
831
|
},
|
|
844
832
|
},
|
|
845
833
|
// USDC.e
|
|
@@ -1428,10 +1416,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1428
1416
|
address: '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b',
|
|
1429
1417
|
decimals: 18,
|
|
1430
1418
|
},
|
|
1431
|
-
[ChainId.UNI]: {
|
|
1432
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1433
|
-
decimals: 18,
|
|
1434
|
-
},
|
|
1435
1419
|
},
|
|
1436
1420
|
},
|
|
1437
1421
|
|
|
@@ -1754,26 +1738,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1754
1738
|
},
|
|
1755
1739
|
},
|
|
1756
1740
|
},
|
|
1757
|
-
|
|
1758
|
-
// APE
|
|
1759
|
-
{
|
|
1760
|
-
key: CoinKey.APE,
|
|
1761
|
-
name: CoinKey.APE,
|
|
1762
|
-
logoURI:
|
|
1763
|
-
'https://static.debank.com/image/ape_token/logo_url/ape/2357165eac1453c46f526704b51a801b.png',
|
|
1764
|
-
verified: true,
|
|
1765
|
-
chains: {
|
|
1766
|
-
[ChainId.APE]: {
|
|
1767
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
1768
|
-
decimals: 18,
|
|
1769
|
-
},
|
|
1770
|
-
[ChainId.ETH]: {
|
|
1771
|
-
address: '0x4d224452801aced8b2f0aebe155379bb5d594381',
|
|
1772
|
-
decimals: 18,
|
|
1773
|
-
},
|
|
1774
|
-
},
|
|
1775
|
-
},
|
|
1776
|
-
|
|
1777
1741
|
// > Solana
|
|
1778
1742
|
{
|
|
1779
1743
|
key: CoinKey.SOL,
|
|
@@ -2172,7 +2136,7 @@ export const defaultCoins: Array<Coin> = basicCoins.map((coin) => {
|
|
|
2172
2136
|
// Wrapped version of gas on chain
|
|
2173
2137
|
export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
2174
2138
|
[ChainId.ETH]: {
|
|
2175
|
-
// https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
|
|
2139
|
+
// https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
|
|
2176
2140
|
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
2177
2141
|
symbol: 'WETH',
|
|
2178
2142
|
decimals: 18,
|
|
@@ -2613,28 +2577,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
|
2613
2577
|
logoURI:
|
|
2614
2578
|
'https://static.debank.com/image/sonic_token/logo_url/0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38/b4cc70d040518a88adac18d906fcbfff.png',
|
|
2615
2579
|
},
|
|
2616
|
-
[ChainId.UNI]: {
|
|
2617
|
-
// https://uniscan.xyz/token/0x4200000000000000000000000000000000000006
|
|
2618
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
2619
|
-
symbol: 'WETH',
|
|
2620
|
-
decimals: 18,
|
|
2621
|
-
chainId: ChainId.UNI,
|
|
2622
|
-
coinKey: CoinKey.WETH,
|
|
2623
|
-
name: 'WETH',
|
|
2624
|
-
logoURI:
|
|
2625
|
-
'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
|
|
2626
|
-
},
|
|
2627
|
-
[ChainId.APE]: {
|
|
2628
|
-
// https://apescan.io/token/0x48b62137edfa95a428d35c09e44256a739f6b557
|
|
2629
|
-
address: '0x48b62137EdfA95a428D35C09E44256a739F6B557',
|
|
2630
|
-
symbol: 'WAPE',
|
|
2631
|
-
decimals: 18,
|
|
2632
|
-
chainId: ChainId.APE,
|
|
2633
|
-
coinKey: CoinKey.WAPE,
|
|
2634
|
-
name: 'WAPE',
|
|
2635
|
-
logoURI:
|
|
2636
|
-
'https://static.debank.com/image/ape_token/logo_url/ape/2357165eac1453c46f526704b51a801b.png',
|
|
2637
|
-
},
|
|
2638
2580
|
}
|
|
2639
2581
|
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
|
|
2640
2582
|
const coin = defaultCoins.find((coin) => coin.key === coinKey)
|
package/src/multicall.ts
CHANGED
|
@@ -52,8 +52,6 @@ export const multicallAddresses: { [ChainId: number]: string } = {
|
|
|
52
52
|
[ChainId.ABS]: '0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7',
|
|
53
53
|
[ChainId.BER]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
54
54
|
[ChainId.SON]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
55
|
-
[ChainId.UNI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
56
|
-
[ChainId.APE]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
57
55
|
|
|
58
56
|
// TODO
|
|
59
57
|
// [ChainId.EXP]: '', // TODO
|