@lifi/data-types 6.14.5 → 6.14.6

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
@@ -516,7 +515,20 @@ export const basicCoins: BasicCoin[] = [
516
515
  },
517
516
  },
518
517
  },
519
-
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
+ },
520
532
  // > XDC
521
533
  {
522
534
  key: CoinKey.XDC,
@@ -750,6 +762,11 @@ export const basicCoins: BasicCoin[] = [
750
762
  address: '0x674843C06FF83502ddb4D37c2E09C01cdA38cbc8',
751
763
  decimals: 6,
752
764
  },
765
+ [ChainId.ETL]: {
766
+ address: '0x2c03058c8afc06713be23e58d2febc8337dbfe6a',
767
+ decimals: 6,
768
+ name: 'Bridged USDT (Etherlink)',
769
+ },
753
770
  },
754
771
  },
755
772
 
@@ -915,6 +932,10 @@ export const basicCoins: BasicCoin[] = [
915
932
  decimals: 6,
916
933
  name: 'USDC (Native)',
917
934
  },
935
+ [ChainId.ETL]: {
936
+ address: '0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9',
937
+ decimals: 6,
938
+ },
918
939
  },
919
940
  },
920
941
  // USDC.e
@@ -1631,6 +1652,20 @@ export const basicCoins: BasicCoin[] = [
1631
1652
  },
1632
1653
  },
1633
1654
  },
1655
+ // > WXTZ
1656
+ {
1657
+ key: CoinKey.WXTZ,
1658
+ name: 'Wrapped XTZ',
1659
+ logoURI:
1660
+ 'https://assets.coingecko.com/coins/images/51172/standard/WXTZ_Logo_black.png?1741099768',
1661
+ verified: true,
1662
+ chains: {
1663
+ [ChainId.ETL]: {
1664
+ address: '0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb',
1665
+ decimals: 18,
1666
+ },
1667
+ },
1668
+ },
1634
1669
 
1635
1670
  // > SUSHI
1636
1671
  {
@@ -2951,6 +2986,16 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
2951
2986
  logoURI:
2952
2987
  'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png',
2953
2988
  },
2989
+ [ChainId.ETL]: {
2990
+ address: '0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb',
2991
+ symbol: CoinKey.WXTZ,
2992
+ decimals: 18,
2993
+ chainId: ChainId.ETL,
2994
+ coinKey: CoinKey.WXTZ,
2995
+ name: 'Wrapped XTZ',
2996
+ logoURI:
2997
+ 'https://assets.coingecko.com/coins/images/51172/standard/WXTZ_Logo_black.png?1741099768',
2998
+ },
2954
2999
  }
2955
3000
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
2956
3001
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -63,6 +63,7 @@ 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',
66
67
 
67
68
  // TODO
68
69
  // [ChainId.EXP]: '', // TODO