@lifi/data-types 5.28.0 → 5.30.0-beta.1

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.
@@ -143,6 +143,10 @@ export const basicCoins: BasicCoin[] = [
143
143
  address: '0x0000000000000000000000000000000000000000',
144
144
  decimals: 18,
145
145
  },
146
+ [ChainId.UNI]: {
147
+ address: '0x0000000000000000000000000000000000000000',
148
+ decimals: 18,
149
+ },
146
150
  },
147
151
  },
148
152
  // > MATIC
@@ -359,6 +363,10 @@ export const basicCoins: BasicCoin[] = [
359
363
  address: '0xc5015b9d9161dca7e18e32f6f25c4ad850731fd4',
360
364
  decimals: 18,
361
365
  },
366
+ [ChainId.UNI]: {
367
+ address: '0x20CAb320A855b39F724131C69424240519573f81',
368
+ decimals: 18,
369
+ },
362
370
  },
363
371
  },
364
372
  // > FTM
@@ -828,6 +836,10 @@ export const basicCoins: BasicCoin[] = [
828
836
  address: '0x74b7f16337b8972027f6196a17a631ac6de26d22',
829
837
  decimals: 6,
830
838
  },
839
+ [ChainId.UNI]: {
840
+ address: '0x078D782b760474a361dDA0AF3839290b0EF57AD6',
841
+ decimals: 6,
842
+ },
831
843
  },
832
844
  },
833
845
  // USDC.e
@@ -1416,6 +1428,10 @@ export const basicCoins: BasicCoin[] = [
1416
1428
  address: '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b',
1417
1429
  decimals: 18,
1418
1430
  },
1431
+ [ChainId.UNI]: {
1432
+ address: '0x4200000000000000000000000000000000000006',
1433
+ decimals: 18,
1434
+ },
1419
1435
  },
1420
1436
  },
1421
1437
 
@@ -1738,6 +1754,26 @@ export const basicCoins: BasicCoin[] = [
1738
1754
  },
1739
1755
  },
1740
1756
  },
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
+
1741
1777
  // > Solana
1742
1778
  {
1743
1779
  key: CoinKey.SOL,
@@ -2136,7 +2172,7 @@ export const defaultCoins: Array<Coin> = basicCoins.map((coin) => {
2136
2172
  // Wrapped version of gas on chain
2137
2173
  export const wrappedTokens: { [ChainId: string]: StaticToken } = {
2138
2174
  [ChainId.ETH]: {
2139
- // https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
2175
+ // https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
2140
2176
  address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
2141
2177
  symbol: 'WETH',
2142
2178
  decimals: 18,
@@ -2577,6 +2613,28 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
2577
2613
  logoURI:
2578
2614
  'https://static.debank.com/image/sonic_token/logo_url/0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38/b4cc70d040518a88adac18d906fcbfff.png',
2579
2615
  },
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
+ },
2580
2638
  }
2581
2639
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
2582
2640
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -52,6 +52,8 @@ 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',
55
57
 
56
58
  // TODO
57
59
  // [ChainId.EXP]: '', // TODO