@lifi/data-types 6.38.0 → 6.39.1-alpha.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.
@@ -1177,6 +1177,12 @@ export const basicCoins: BasicCoin[] = [
1177
1177
  decimals: 6,
1178
1178
  name: 'Bridged USDC (Stargate)',
1179
1179
  },
1180
+ [ChainId.FLW]: {
1181
+ address: '0xF1815bd50389c46847f0Bda824eC8da914045D14',
1182
+ decimals: 6,
1183
+ name: 'Bridged USDC (Stargate)',
1184
+ symbol: 'stgUSDC',
1185
+ },
1180
1186
  },
1181
1187
  },
1182
1188
  // axlUSDC
@@ -1460,6 +1466,10 @@ export const basicCoins: BasicCoin[] = [
1460
1466
  address: '0x0000000000000000000000000000000000000000',
1461
1467
  decimals: 18,
1462
1468
  },
1469
+ [ChainId.HPL]: {
1470
+ address: '0x0D01DC56DcaaCa66aD901c959B4011ec00000000',
1471
+ decimals: 8,
1472
+ },
1463
1473
  },
1464
1474
  },
1465
1475
  {
@@ -1856,6 +1866,10 @@ export const basicCoins: BasicCoin[] = [
1856
1866
  address: '0x9895D81bB462A195b4922ED7De0e3ACD007c32CB',
1857
1867
  decimals: 18,
1858
1868
  },
1869
+ [ChainId.FLW]: {
1870
+ address: '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590',
1871
+ decimals: 18,
1872
+ },
1859
1873
  },
1860
1874
  },
1861
1875
 
@@ -2820,6 +2834,7 @@ export const basicCoins: BasicCoin[] = [
2820
2834
  },
2821
2835
  },
2822
2836
 
2837
+ // XPL
2823
2838
  {
2824
2839
  key: CoinKey.XPL,
2825
2840
  name: 'Plasma',
@@ -2833,6 +2848,7 @@ export const basicCoins: BasicCoin[] = [
2833
2848
  },
2834
2849
  },
2835
2850
 
2851
+ // WXPL
2836
2852
  {
2837
2853
  key: CoinKey.WXPL,
2838
2854
  name: 'Wrapped Plasma',
@@ -2846,6 +2862,55 @@ export const basicCoins: BasicCoin[] = [
2846
2862
  },
2847
2863
  },
2848
2864
 
2865
+ // FLOW
2866
+ {
2867
+ key: CoinKey.FLOW,
2868
+ name: 'Flow',
2869
+ logoURI:
2870
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
2871
+ verified: true,
2872
+ chains: {
2873
+ [ChainId.FLW]: {
2874
+ address: '0x0000000000000000000000000000000000000000',
2875
+ decimals: 18,
2876
+ },
2877
+ [ChainId.ETH]: {
2878
+ address: '0x5c147e74D63B1D31AA3Fd78Eb229B65161983B2b',
2879
+ decimals: 18,
2880
+ },
2881
+ },
2882
+ },
2883
+
2884
+ // WFLOW
2885
+ {
2886
+ key: CoinKey.WFLOW,
2887
+ name: 'Wrapped Flow',
2888
+ logoURI:
2889
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
2890
+ verified: true,
2891
+ chains: {
2892
+ [ChainId.FLW]: {
2893
+ address: '0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e',
2894
+ decimals: 18,
2895
+ },
2896
+ },
2897
+ },
2898
+
2899
+ // USDF
2900
+ {
2901
+ key: CoinKey.USDF,
2902
+ name: 'USD Flow',
2903
+ logoURI:
2904
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0x2aaBea2058b5aC2D339b163C6Ab6f2b6d53aabED/logo.png',
2905
+ verified: true,
2906
+ chains: {
2907
+ [ChainId.FLW]: {
2908
+ address: '0x2aaBea2058b5aC2D339b163C6Ab6f2b6d53aabED',
2909
+ decimals: 18,
2910
+ },
2911
+ },
2912
+ },
2913
+
2849
2914
  // > Bitcoin
2850
2915
  {
2851
2916
  key: CoinKey.BTC,
@@ -3606,6 +3671,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
3606
3671
  decimals: 18,
3607
3672
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/36645.png',
3608
3673
  },
3674
+ [ChainId.FLW]: {
3675
+ // https://evm.flowscan.io/token/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e
3676
+ address: '0xd3bf53dac106a0290b0483ecbc89d40fcc961f3e',
3677
+ name: 'Wrapped Flow',
3678
+ symbol: CoinKey.WFLOW,
3679
+ coinKey: CoinKey.WFLOW,
3680
+ chainId: ChainId.FLW,
3681
+ decimals: 18,
3682
+ logoURI:
3683
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
3684
+ },
3609
3685
  }
3610
3686
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
3611
3687
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -73,6 +73,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
73
73
  [ChainId.PLU]: '0xcA11bde05977b3631167028862bE2a173976CA11',
74
74
  [ChainId.SOP]: '0x5f4867441d2416cA88B1b3fd38f21811680CD2C8',
75
75
  [ChainId.PLA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
76
+ [ChainId.FLW]: '0xcA11bde05977b3631167028862bE2a173976CA11',
76
77
 
77
78
  // TODO
78
79
  // [ChainId.EXP]: '', // TODO