@lifi/data-types 6.39.1-beta.0 → 6.41.0-beta.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.
@@ -174,6 +174,10 @@ export const basicCoins: BasicCoin[] = [
174
174
  address: '0x0000000000000000000000000000000000000000',
175
175
  decimals: 18,
176
176
  },
177
+ [ChainId.HMI]: {
178
+ address: '0x0000000000000000000000000000000000000000',
179
+ decimals: 18,
180
+ },
177
181
  },
178
182
  },
179
183
  // > MATIC
@@ -402,6 +406,10 @@ export const basicCoins: BasicCoin[] = [
402
406
  address: '0x88171a5BbAcd92ca5e25575c5904581C80B025Dd',
403
407
  decimals: 18,
404
408
  },
409
+ [ChainId.HMI]: {
410
+ address: '0x6c851F501a3F24E29A8E39a29591cddf09369080',
411
+ decimals: 18,
412
+ },
405
413
  },
406
414
  },
407
415
  // > FTM
@@ -830,6 +838,10 @@ export const basicCoins: BasicCoin[] = [
830
838
  address: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t',
831
839
  decimals: 6,
832
840
  },
841
+ [ChainId.HMI]: {
842
+ address: '0xbB0D083fb1be0A9f6157ec484b6C79E0A4e31C2e',
843
+ decimals: 6,
844
+ },
833
845
  },
834
846
  },
835
847
 
@@ -1183,6 +1195,11 @@ export const basicCoins: BasicCoin[] = [
1183
1195
  name: 'Bridged USDC (Stargate)',
1184
1196
  symbol: 'stgUSDC',
1185
1197
  },
1198
+ [ChainId.HMI]: {
1199
+ address: '0xad11a8BEb98bbf61dbb1aa0F6d6F2ECD87b35afA',
1200
+ decimals: 6,
1201
+ name: 'Bridged USDC (Stargate)',
1202
+ },
1186
1203
  },
1187
1204
  },
1188
1205
  // axlUSDC
@@ -1384,6 +1401,10 @@ export const basicCoins: BasicCoin[] = [
1384
1401
  address: '0x80Eede496655FB9047dd39d9f418d5483ED600df',
1385
1402
  decimals: 18,
1386
1403
  },
1404
+ [ChainId.HMI]: {
1405
+ address: '0xc4a20a608616F18aA631316eEDa9Fb62d089361e',
1406
+ decimals: 18,
1407
+ },
1387
1408
  },
1388
1409
  },
1389
1410
  {
@@ -1630,6 +1651,10 @@ export const basicCoins: BasicCoin[] = [
1630
1651
  address: '0xF1f9E08a0818594FDe4713AE0Db1E46672Ca960E',
1631
1652
  decimals: 8,
1632
1653
  },
1654
+ [ChainId.HMI]: {
1655
+ address: '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3',
1656
+ decimals: 8,
1657
+ },
1633
1658
  },
1634
1659
  },
1635
1660
 
@@ -1866,6 +1891,10 @@ export const basicCoins: BasicCoin[] = [
1866
1891
  address: '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590',
1867
1892
  decimals: 18,
1868
1893
  },
1894
+ [ChainId.HMI]: {
1895
+ address: '0x4200000000000000000000000000000000000006',
1896
+ decimals: 18,
1897
+ },
1869
1898
  },
1870
1899
  },
1871
1900
 
@@ -2907,6 +2936,48 @@ export const basicCoins: BasicCoin[] = [
2907
2936
  },
2908
2937
  },
2909
2938
 
2939
+ // Hemi
2940
+ {
2941
+ key: CoinKey.HEMI,
2942
+ name: 'Hemi',
2943
+ logoURI:
2944
+ 'https://static.debank.com/image/chain/logo_url/hemi/db2e74d52c77b941d01f9beae0767ab6.png',
2945
+ verified: true,
2946
+ chains: {
2947
+ [ChainId.ETH]: {
2948
+ address: '0xeb964a1a6fab73b8c72a0d15c7337fa4804f484d',
2949
+ decimals: 18,
2950
+ },
2951
+ [ChainId.BSC]: {
2952
+ address: '0x5ffd0eadc186af9512542d0d5e5eafc65d5afc5b',
2953
+ decimals: 18,
2954
+ },
2955
+ [ChainId.HMI]: {
2956
+ address: '0xEb964A1A6fAB73b8c72A0D15c7337fA4804F484d',
2957
+ decimals: 18,
2958
+ },
2959
+ },
2960
+ },
2961
+
2962
+ // XAUt
2963
+ {
2964
+ key: CoinKey.XAUt,
2965
+ name: 'Tether Gold',
2966
+ logoURI:
2967
+ 'https://static.debank.com/image/eth_token/logo_url/0x68749665ff8d2d112fa859aa293f07a622782f38/a100487c27e4e6e5557ef770230c7f8b.png',
2968
+ verified: true,
2969
+ chains: {
2970
+ [ChainId.ETH]: {
2971
+ address: '0x68749665FF8D2d112Fa859AA293F07A622782F38',
2972
+ decimals: 6,
2973
+ },
2974
+ [ChainId.HMI]: {
2975
+ address: '0x028DE74e2fE336511A8E5FAb0426D1cfD5110DBb',
2976
+ decimals: 6,
2977
+ },
2978
+ },
2979
+ },
2980
+
2910
2981
  // > Bitcoin
2911
2982
  {
2912
2983
  key: CoinKey.BTC,
@@ -3678,6 +3749,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
3678
3749
  logoURI:
3679
3750
  'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
3680
3751
  },
3752
+ [ChainId.HMI]: {
3753
+ // https://explorer.hemi.xyz/token/0x4200000000000000000000000000000000000006
3754
+ address: '0x4200000000000000000000000000000000000006',
3755
+ symbol: 'WETH',
3756
+ decimals: 18,
3757
+ chainId: ChainId.HMI,
3758
+ coinKey: CoinKey.WETH,
3759
+ name: 'Wrapped Ether',
3760
+ logoURI:
3761
+ 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png',
3762
+ },
3681
3763
  }
3682
3764
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
3683
3765
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -74,6 +74,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
74
74
  [ChainId.SOP]: '0x5f4867441d2416cA88B1b3fd38f21811680CD2C8',
75
75
  [ChainId.PLA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
76
76
  [ChainId.FLW]: '0xcA11bde05977b3631167028862bE2a173976CA11',
77
+ [ChainId.HMI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
77
78
 
78
79
  // TODO
79
80
  // [ChainId.EXP]: '', // TODO