@lifi/data-types 6.11.5 → 6.12.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 +50 -6
- 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 +52 -7
- 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 +57 -7
- package/src/multicall.ts +1 -0
package/src/coins/coins.ts
CHANGED
|
@@ -503,7 +503,7 @@ export const basicCoins: BasicCoin[] = [
|
|
|
503
503
|
verified: true,
|
|
504
504
|
chains: {
|
|
505
505
|
[ChainId.CRN]: {
|
|
506
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
506
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
507
507
|
decimals: 18,
|
|
508
508
|
},
|
|
509
509
|
},
|
|
@@ -885,6 +885,11 @@ export const basicCoins: BasicCoin[] = [
|
|
|
885
885
|
address: '0x88F08E304EC4f90D644Cec3Fb69b8aD414acf884',
|
|
886
886
|
decimals: 6,
|
|
887
887
|
},
|
|
888
|
+
[ChainId.SON]: {
|
|
889
|
+
address: '0x29219dd400f2Bf60E5a23d13Be72B486D4038894',
|
|
890
|
+
decimals: 6,
|
|
891
|
+
name: 'USDC (Native)',
|
|
892
|
+
},
|
|
888
893
|
},
|
|
889
894
|
},
|
|
890
895
|
// USDC.e
|
|
@@ -980,12 +985,6 @@ export const basicCoins: BasicCoin[] = [
|
|
|
980
985
|
name: 'Bridged USD (Stargate)',
|
|
981
986
|
symbol: 'USDC.e',
|
|
982
987
|
},
|
|
983
|
-
[ChainId.SON]: {
|
|
984
|
-
address: '0x29219dd400f2Bf60E5a23d13Be72B486D4038894',
|
|
985
|
-
decimals: 6,
|
|
986
|
-
name: 'Bridged USDC (Sonic Labs)',
|
|
987
|
-
symbol: 'USDC.e',
|
|
988
|
-
},
|
|
989
988
|
[ChainId.SOE]: {
|
|
990
989
|
address: '0xba9986d2381edf1da03b0b9c1f8b00dc4aacc369',
|
|
991
990
|
decimals: 6,
|
|
@@ -1216,6 +1215,47 @@ export const basicCoins: BasicCoin[] = [
|
|
|
1216
1215
|
},
|
|
1217
1216
|
},
|
|
1218
1217
|
|
|
1218
|
+
// > HyperEVM
|
|
1219
|
+
{
|
|
1220
|
+
key: CoinKey.HYPE,
|
|
1221
|
+
name: 'HYPE',
|
|
1222
|
+
logoURI:
|
|
1223
|
+
'https://static.debank.com/image/hyper_token/logo_url/hyper/0b3e288cfe418e9ce69eef4c96374583.png',
|
|
1224
|
+
verified: true,
|
|
1225
|
+
chains: {
|
|
1226
|
+
[ChainId.HYP]: {
|
|
1227
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1228
|
+
decimals: 18,
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
key: CoinKey.FEUSD,
|
|
1234
|
+
name: 'feUSD',
|
|
1235
|
+
logoURI:
|
|
1236
|
+
'https://static.debank.com/image/hyper_token/logo_url/0x02c6a2fa58cc01a18b8d9e00ea48d65e4df26c70/81c56750c2a60e7e63a76a224c40ddb5.png',
|
|
1237
|
+
verified: true,
|
|
1238
|
+
chains: {
|
|
1239
|
+
[ChainId.HYP]: {
|
|
1240
|
+
address: '0x02c6a2fa58cc01a18b8d9e00ea48d65e4df26c70',
|
|
1241
|
+
decimals: 18,
|
|
1242
|
+
},
|
|
1243
|
+
},
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
key: CoinKey.WHYPE,
|
|
1247
|
+
name: 'Wrapped HYPE',
|
|
1248
|
+
logoURI:
|
|
1249
|
+
'https://static.debank.com/image/hyper_token/logo_url/0x5555555555555555555555555555555555555555/752e760ec0b1a17b81c7535e09e76ef8.png',
|
|
1250
|
+
verified: true,
|
|
1251
|
+
chains: {
|
|
1252
|
+
[ChainId.HYP]: {
|
|
1253
|
+
address: '0x5555555555555555555555555555555555555555',
|
|
1254
|
+
decimals: 18,
|
|
1255
|
+
},
|
|
1256
|
+
},
|
|
1257
|
+
},
|
|
1258
|
+
|
|
1219
1259
|
// > WBTC
|
|
1220
1260
|
{
|
|
1221
1261
|
key: CoinKey.WBTC,
|
|
@@ -2819,6 +2859,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
|
|
|
2819
2859
|
logoURI:
|
|
2820
2860
|
'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
|
|
2821
2861
|
},
|
|
2862
|
+
[ChainId.HYP]: {
|
|
2863
|
+
address: '0x5555555555555555555555555555555555555555',
|
|
2864
|
+
symbol: CoinKey.WHYPE,
|
|
2865
|
+
decimals: 18,
|
|
2866
|
+
chainId: ChainId.HYP,
|
|
2867
|
+
coinKey: CoinKey.WHYPE,
|
|
2868
|
+
name: 'Wrapped HYPE',
|
|
2869
|
+
logoURI:
|
|
2870
|
+
'https://static.debank.com/image/hyper_token/logo_url/0x5555555555555555555555555555555555555555/752e760ec0b1a17b81c7535e09e76ef8.png',
|
|
2871
|
+
},
|
|
2822
2872
|
}
|
|
2823
2873
|
export const findDefaultCoin = (coinKey: CoinKey): Coin => {
|
|
2824
2874
|
const coin = defaultCoins.find((coin) => coin.key === coinKey)
|
package/src/multicall.ts
CHANGED
|
@@ -60,6 +60,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
|
|
|
60
60
|
[ChainId.SWL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
61
61
|
[ChainId.CRN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
62
62
|
[ChainId.SUP]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
63
|
+
[ChainId.HYP]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
63
64
|
|
|
64
65
|
// TODO
|
|
65
66
|
// [ChainId.EXP]: '', // TODO
|