@lifi/data-types 6.15.0-beta.0 → 6.16.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.
@@ -1,5 +1,4 @@
1
- import type { Coin, StaticToken } from '@lifi/types'
2
- import { ChainId, CoinKey } from '@lifi/types'
1
+ import { ChainId, type Coin, CoinKey, type StaticToken } from '@lifi/types'
3
2
 
4
3
  type BasicToken = {
5
4
  address: string
@@ -167,6 +166,10 @@ export const basicCoins: BasicCoin[] = [
167
166
  address: '0x0000000000000000000000000000000000000000',
168
167
  decimals: 18,
169
168
  },
169
+ [ChainId.HYP]: {
170
+ address: '0x1fbccdc677c10671ee50b46c61f0f7d135112450',
171
+ decimals: 18,
172
+ },
170
173
  },
171
174
  },
172
175
  // > MATIC
@@ -512,7 +515,20 @@ export const basicCoins: BasicCoin[] = [
512
515
  },
513
516
  },
514
517
  },
515
-
518
+ // > XTZ
519
+ {
520
+ key: CoinKey.XTZ,
521
+ name: 'Tezos',
522
+ logoURI:
523
+ 'https://assets.coingecko.com/coins/images/976/standard/Tezos-logo.png?1696502091',
524
+ verified: true,
525
+ chains: {
526
+ [ChainId.ETL]: {
527
+ address: '0x0000000000000000000000000000000000000000',
528
+ decimals: 18,
529
+ },
530
+ },
531
+ },
516
532
  // > XDC
517
533
  {
518
534
  key: CoinKey.XDC,
@@ -605,6 +621,8 @@ export const basicCoins: BasicCoin[] = [
605
621
  [ChainId.ARB]: {
606
622
  address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
607
623
  decimals: 6,
624
+ name: 'USDT0',
625
+ symbol: 'USD₮0',
608
626
  },
609
627
  [ChainId.ONE]: {
610
628
  address: '0x3c2b8be99c50593081eaa2a724f0b8285f5aba8f',
@@ -744,6 +762,15 @@ export const basicCoins: BasicCoin[] = [
744
762
  address: '0x674843C06FF83502ddb4D37c2E09C01cdA38cbc8',
745
763
  decimals: 6,
746
764
  },
765
+ [ChainId.ETL]: {
766
+ address: '0x2c03058c8afc06713be23e58d2febc8337dbfe6a',
767
+ decimals: 6,
768
+ name: 'Bridged USDT (Etherlink)',
769
+ },
770
+ [ChainId.VIC]: {
771
+ address: '0x69b946132b4a6c74cd29ba3ff614ceea1ef9ff2b',
772
+ decimals: 6,
773
+ },
747
774
  },
748
775
  },
749
776
 
@@ -909,6 +936,10 @@ export const basicCoins: BasicCoin[] = [
909
936
  decimals: 6,
910
937
  name: 'USDC (Native)',
911
938
  },
939
+ [ChainId.ETL]: {
940
+ address: '0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9',
941
+ decimals: 6,
942
+ },
912
943
  },
913
944
  },
914
945
  // USDC.e
@@ -1588,6 +1619,10 @@ export const basicCoins: BasicCoin[] = [
1588
1619
  address: '0xf4d9235269a96aadafc9adae454a0618ebe37949',
1589
1620
  decimals: 18,
1590
1621
  },
1622
+ [ChainId.SOE]: {
1623
+ address: '0x4200000000000000000000000000000000000006',
1624
+ decimals: 18,
1625
+ },
1591
1626
  [ChainId.LNS]: {
1592
1627
  address: '0xE5ecd226b3032910CEaa43ba92EE8232f8237553',
1593
1628
  decimals: 18,
@@ -1625,6 +1660,20 @@ export const basicCoins: BasicCoin[] = [
1625
1660
  },
1626
1661
  },
1627
1662
  },
1663
+ // > WXTZ
1664
+ {
1665
+ key: CoinKey.WXTZ,
1666
+ name: 'Wrapped XTZ',
1667
+ logoURI:
1668
+ 'https://assets.coingecko.com/coins/images/51172/standard/WXTZ_Logo_black.png?1741099768',
1669
+ verified: true,
1670
+ chains: {
1671
+ [ChainId.ETL]: {
1672
+ address: '0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb',
1673
+ decimals: 18,
1674
+ },
1675
+ },
1676
+ },
1628
1677
 
1629
1678
  // > SUSHI
1630
1679
  {
@@ -2304,6 +2353,34 @@ export const basicCoins: BasicCoin[] = [
2304
2353
  },
2305
2354
  },
2306
2355
 
2356
+ // Viction
2357
+ {
2358
+ key: CoinKey.VIC,
2359
+ name: 'Viction',
2360
+ logoURI:
2361
+ 'https://assets.coingecko.com/coins/images/3416/standard/viction.jpeg?1698894318',
2362
+ verified: true,
2363
+ chains: {
2364
+ [ChainId.VIC]: {
2365
+ address: '0x0000000000000000000000000000000000000000',
2366
+ decimals: 18,
2367
+ },
2368
+ },
2369
+ },
2370
+ {
2371
+ key: CoinKey.WVIC,
2372
+ name: 'Wrapped Viction',
2373
+ logoURI:
2374
+ 'https://assets.coingecko.com/coins/images/53427/standard/viction.jpg?1740640829',
2375
+ verified: true,
2376
+ chains: {
2377
+ [ChainId.VIC]: {
2378
+ address: '0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce',
2379
+ decimals: 18,
2380
+ },
2381
+ },
2382
+ },
2383
+
2307
2384
  // > Bitcoin
2308
2385
  {
2309
2386
  key: CoinKey.BTC,
@@ -2945,6 +3022,26 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
2945
3022
  logoURI:
2946
3023
  'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
2947
3024
  },
3025
+ [ChainId.ETL]: {
3026
+ address: '0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb',
3027
+ symbol: CoinKey.WXTZ,
3028
+ decimals: 18,
3029
+ chainId: ChainId.ETL,
3030
+ coinKey: CoinKey.WXTZ,
3031
+ name: 'Wrapped XTZ',
3032
+ logoURI:
3033
+ 'https://assets.coingecko.com/coins/images/51172/standard/WXTZ_Logo_black.png?1741099768',
3034
+ },
3035
+ [ChainId.VIC]: {
3036
+ address: '0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce',
3037
+ symbol: CoinKey.WVIC,
3038
+ decimals: 18,
3039
+ chainId: ChainId.VIC,
3040
+ coinKey: CoinKey.WVIC,
3041
+ name: 'Wrapped Viction',
3042
+ logoURI:
3043
+ 'https://assets.coingecko.com/coins/images/53427/standard/viction.jpg?1740640829',
3044
+ },
2948
3045
  }
2949
3046
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
2950
3047
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -63,6 +63,8 @@ export const multicallAddresses: { [ChainId: number]: string } = {
63
63
  [ChainId.HYP]: '0xcA11bde05977b3631167028862bE2a173976CA11',
64
64
  [ChainId.XDC]: '0x0b1795cca8e4ec4df02346a082df54d437f8d9af',
65
65
  [ChainId.BOC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
66
+ [ChainId.ETL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
67
+ [ChainId.VIC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
66
68
 
67
69
  // TODO
68
70
  // [ChainId.EXP]: '', // TODO