@lifi/data-types 6.38.0 → 6.39.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
@@ -1856,6 +1862,10 @@ export const basicCoins: BasicCoin[] = [
1856
1862
  address: '0x9895D81bB462A195b4922ED7De0e3ACD007c32CB',
1857
1863
  decimals: 18,
1858
1864
  },
1865
+ [ChainId.FLW]: {
1866
+ address: '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590',
1867
+ decimals: 18,
1868
+ },
1859
1869
  },
1860
1870
  },
1861
1871
 
@@ -2820,6 +2830,7 @@ export const basicCoins: BasicCoin[] = [
2820
2830
  },
2821
2831
  },
2822
2832
 
2833
+ // XPL
2823
2834
  {
2824
2835
  key: CoinKey.XPL,
2825
2836
  name: 'Plasma',
@@ -2833,6 +2844,7 @@ export const basicCoins: BasicCoin[] = [
2833
2844
  },
2834
2845
  },
2835
2846
 
2847
+ // WXPL
2836
2848
  {
2837
2849
  key: CoinKey.WXPL,
2838
2850
  name: 'Wrapped Plasma',
@@ -2846,6 +2858,55 @@ export const basicCoins: BasicCoin[] = [
2846
2858
  },
2847
2859
  },
2848
2860
 
2861
+ // FLOW
2862
+ {
2863
+ key: CoinKey.FLOW,
2864
+ name: 'Flow',
2865
+ logoURI:
2866
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
2867
+ verified: true,
2868
+ chains: {
2869
+ [ChainId.FLW]: {
2870
+ address: '0x0000000000000000000000000000000000000000',
2871
+ decimals: 18,
2872
+ },
2873
+ [ChainId.ETH]: {
2874
+ address: '0x5c147e74D63B1D31AA3Fd78Eb229B65161983B2b',
2875
+ decimals: 18,
2876
+ },
2877
+ },
2878
+ },
2879
+
2880
+ // WFLOW
2881
+ {
2882
+ key: CoinKey.WFLOW,
2883
+ name: 'Wrapped Flow',
2884
+ logoURI:
2885
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
2886
+ verified: true,
2887
+ chains: {
2888
+ [ChainId.FLW]: {
2889
+ address: '0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e',
2890
+ decimals: 18,
2891
+ },
2892
+ },
2893
+ },
2894
+
2895
+ // USDF
2896
+ {
2897
+ key: CoinKey.USDF,
2898
+ name: 'USD Flow',
2899
+ logoURI:
2900
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0x2aaBea2058b5aC2D339b163C6Ab6f2b6d53aabED/logo.png',
2901
+ verified: true,
2902
+ chains: {
2903
+ [ChainId.FLW]: {
2904
+ address: '0x2aaBea2058b5aC2D339b163C6Ab6f2b6d53aabED',
2905
+ decimals: 18,
2906
+ },
2907
+ },
2908
+ },
2909
+
2849
2910
  // > Bitcoin
2850
2911
  {
2851
2912
  key: CoinKey.BTC,
@@ -3606,6 +3667,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
3606
3667
  decimals: 18,
3607
3668
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/36645.png',
3608
3669
  },
3670
+ [ChainId.FLW]: {
3671
+ // https://evm.flowscan.io/token/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e
3672
+ address: '0xd3bf53dac106a0290b0483ecbc89d40fcc961f3e',
3673
+ name: 'Wrapped Flow',
3674
+ symbol: CoinKey.WFLOW,
3675
+ coinKey: CoinKey.WFLOW,
3676
+ chainId: ChainId.FLW,
3677
+ decimals: 18,
3678
+ logoURI:
3679
+ 'https://raw.githubusercontent.com/onflow/assets/main/tokens/registry/0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e/logo.png',
3680
+ },
3609
3681
  }
3610
3682
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
3611
3683
  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