@qidao/sdk 5.3.18 → 5.3.23

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,4 +1,4 @@
1
- export type PLATFORM = 'Beefy' | 'Yearn' | 'Curve' | 'AaveV2' | 'AaveV3' | 'Balancer' | 'Lido' | 'Arrakis' | 'QuickSwap' | 'Gains' | 'GotchiVault' | 'Stader' | 'StakeDAO' | 'Tetu' | 'Spookyswap' | 'Convex' | 'Coinbase' | 'Optimism' | 'Arbitrum' | 'Aerodrome';
1
+ export type PLATFORM = 'Beefy' | 'Yearn' | 'Curve' | 'AaveV2' | 'AaveV3' | 'Balancer' | 'Lido' | 'Arrakis' | 'QuickSwap' | 'Gains' | 'GotchiVault' | 'Stader' | 'StakeDAO' | 'Tetu' | 'Spookyswap' | 'Convex' | 'Coinbase' | 'Optimism' | 'Arbitrum' | 'Aerodrome' | 'Metapool' | 'Renzo';
2
2
  export declare const ProtocolInfo: {
3
3
  [k in PLATFORM]: {
4
4
  description: string;
@@ -321,6 +321,16 @@ export declare const TOKEN_DESCRIPTIONS: {
321
321
  logo: string;
322
322
  name: string;
323
323
  };
324
+ metapool: {
325
+ shortDescription: string;
326
+ logo: string;
327
+ name: string;
328
+ };
329
+ renzo: {
330
+ shortDescription: string;
331
+ logo: string;
332
+ name: string;
333
+ };
324
334
  };
325
335
  export declare const WFTM_ADDRESS = "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83";
326
336
  export declare const STETH_ADDRESS = "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84";
@@ -337,10 +347,12 @@ export declare const BASE_WETH_ADDRESS = "0x420000000000000000000000000000000000
337
347
  export declare const BASE_CBETH_ADDRESS = "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22";
338
348
  export declare const BASE_WSTETH_ADDRESS = "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
339
349
  export declare const BASE_AERO_ADDRESS = "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
350
+ export declare const BASE_EZETH_ADDRESS = "0x2416092f143378750bb29b79eD961ab195CcEea5";
340
351
  export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
341
352
  export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
342
353
  export declare const LINEA_WBTC_ADDRESS = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4";
343
354
  export declare const LINEA_WETH_ADDRESS = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f";
355
+ export declare const LINEA_MPETH_ADDRESS = "0xda7d3Ef7c899079EB101F3B31c272DBe9639BDA6";
344
356
  export declare const FRAXTAL_SFRXETH_ADDRESS = "0xFC00000000000000000000000000000000000005";
345
357
  export declare const CAMWMATIC_VAULT_ADDRESS = "0x88d84a85A87ED12B8f098e8953B322fF789fCD1a";
346
358
  export declare const CAMWETH_VAULT_ADDRESS = "0x11A33631a5B5349AF3F165d2B7901A4d67e561ad";
@@ -386,12 +398,17 @@ export declare const ETH_STETH_VAULT_ADDRESS = "0x5773e8953cF60F495eB3c2Db45DD75
386
398
  export declare const ETH_LDO_VAULT_ADDRESS = "0x954ac12c339c60eafbb32213b15af3f7c7a0dec2";
387
399
  export declare const ZKEVM_WETH_VAULT_ADDRESS = "0x4d4872fe2D6B8a6297e77510FfEe4EE7c4B274bc";
388
400
  export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0xC8A3e6F64f3a73F5b53Dbf4E20C8A2847161f7AE";
401
+ export declare const MATIC_PSM_ADDRESS = "0xdEffF862C76C6f9c7164B44f860fAe64C2A92aF5";
389
402
  export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
390
403
  export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
391
404
  export declare const BASE_WSTETH_VAULT_ADDRESS = "0x654a31Ba7D714cfCab19b17D0066171c1A292349";
392
405
  export declare const BASE_AERO_VAULT_ADDRESS = "0x20658fDaBD4C79F1B3666E5bcCAeF78b5059B109";
406
+ export declare const BASE_EZETH_VAULT_ADDRESS = "0x491E3a7cDA79aF2bba5De48C58445644821D14dE";
407
+ export declare const BASE_PSM_ADDRESS = "0x83D41737d086033A9c3acE2F1Ad9350d7d91cf02";
393
408
  export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
394
409
  export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
395
410
  export declare const LINEA_WBTC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
396
411
  export declare const LINEA_WETH_VAULT_ADDRESS = "0x7f9Dd991e8fD0cBb52CB8Eb35DD35c474a9a7a70";
412
+ export declare const LINEA_MPETH_VAULT_ADDRESS = "0x60d133c666919B54a3254E0d3F14332cB783B733";
413
+ export declare const LINEA_PSM_ADDRESS = "0x2F5CEDafF534Cc816Ed6F551eb2B73d6F1DAA440";
397
414
  export declare const FRAXTAL_SFRXETH_VAULT_ADDRESS = "0xbf1aeA8670D2528E08334083616dD9C5F3B087aE";
@@ -7,8 +7,8 @@ import { QiStablecoin } from './contracts/QiStablecoin';
7
7
  import { Token } from './entities';
8
8
  import { ChainId, TOKEN_DESCRIPTIONS } from './constants';
9
9
  import { PLATFORM } from "./ProtocolInfo";
10
- export type SnapshotCanonicalChoiceName = 'Wrapped MATIC (Polygon)' | 'WETH (Polygon)' | 'WBTC (Polygon)' | 'AAVE (Polygon)' | 'LINK (Polygon)' | 'xxLINK (Polygon)' | 'KNC (Polygon)' | 'CRV (Polygon)' | 'BAL (Polygon)' | 'GHST (Polygon)' | 'vGHST (Polygon)' | 'Frax Share (Polygon)' | 'SAND (Polygon)' | 'Compounding Aave MATIC (Polygon)' | 'Compounding Aave ETH (Polygon)' | 'Compounding Aave AAVE (Polygon)' | 'Compounding Aave WBTC (Polygon)' | 'WETH (Fantom)' | 'WFTM (Fantom)' | 'LINK (Fantom)' | 'WBTC (Fantom)' | 'SUSHI (Fantom)' | 'AAVE (Fantom)' | 'mooBIFI (Fantom)' | 'xBOO (Fantom)' | 'Yearn vault WFTM (Fantom)' | 'Yearn vault BTC (Fantom)' | 'Yearn vault ETH (Fantom)' | 'Yearn vault YFI (Fantom)' | 'WBTC (Avalanche)' | 'WETH (Avalanche)' | 'WAVAX (Avalanche)' | 'Beefy Aave AVAX (Avalanche)' | 'MOVR (Moonriver)' | 'WETH (Gnosis Chain)' | 'GNO (Gnosis Chain)' | 'WETH (Arbitrum)' | 'WBTC (Arbitrum)' | 'WETH (Optimism)' | 'WBTC (Optimism)' | 'OP (Optimism)' | 'Beefy Aave ETH (Optimism)' | 'Beefy Aave BTC (Optimism)' | 'CAKE (BNB)' | 'BNB (BNB)' | 'DODO (BNB)' | 'METIS (Metis)' | 'WETH (Metis)' | 'WBTC (Metis)' | 'm.WBTC (Metis)' | 'Yearn WETH (Ethereum)' | 'Yearn LINK (Ethereum)' | 'WBTC (Ethereum)' | 'WETH (Ethereum)' | 'StakeDAO Curve ETH/stETH (Eth)' | 'Yearn Curve ETH/stETH (Ethereum)' | 'MAI DAI Arrakis Polygon' | 'Wrapped Staked ETH (Optimism)' | 'Yearn vault ETH (Optimism)' | 'Beefy stETH Curve (Optimism)' | 'Beefy stETH Curve (Arbitrum)' | 'StakeDAO Curve ETH/stETH Perf (Eth)' | 'Beefy stETH Convex Perf (Eth)' | 'Curve (Eth)' | 'Arb (Arbitrum)' | 'WETH-I (Polygon)' | 'WBTC-I (Polygon)' | 'cbEth (Eth)' | 'stEth (Eth)' | 'LDO (Eth)' | 'WETH (ZKEVM)' | 'WMATIC (ZKEVM)' | 'cbEth (Base)' | 'WETH (Base)' | 'Savings DAI (Gnosis Chain)' | 'Wrapped Staked ETH (Linea)' | 'Wrapped Staked ETH (Base)' | 'WBTC (Linea)' | 'Staked Frax Ether (Fraxtal)' | 'Aero (Base)';
11
- export type VaultShortName = 'aave' | 'avax' | 'avaxweth' | 'avaxwbtc' | 'bal' | 'bal-old' | 'beefy-aave-avax' | 'beefy-aave-dai' | 'beefy-aave-weth' | 'beefy-aave-wbtc' | 'beefy-bifi' | 'beefy-scream-dai' | 'beefy-scream-eth' | 'beefy-scream-ftm' | 'beefy-scream-link' | 'beefy-scream-wbtc' | 'beefy-spooky-btc-ftm' | 'beefy-spooky-eth-ftm' | 'btc' | 'btc_old' | 'cake' | 'camaave' | 'camdai' | 'camwbtc' | 'camweth' | 'camwmatic' | 'crv' | 'cxada' | 'cxdoge' | 'cxeth' | 'dquick' | 'dquick-old' | 'eth' | 'ftm' | 'ftmweth' | 'fxs' | 'ghst' | 'gno' | 'link' | 'matic' | 'moo-solar-eth-usdc' | 'moo-solar-movr-usdc' | 'movr' | 'one' | 'sdam3crv' | 'sdav3crv' | 'sushi' | 'vghst' | 'wbtc' | 'wbnb' | 'weth' | 'weth-old' | 'yveth' | 'yvlink' | 'yvcrv-eth-steth' | 'yvwdai' | 'yvwftm' | 'yvwbtc' | 'yvyfi' | 'celsius' | 'sand' | 'stake-dao-crv-eth-steth' | 'wmatic' | 'xboo' | 'dodo' | 'xxdai' | 'xxlink' | 'op' | 'metis' | 'mwbtc' | 'knc' | 'xSMVT' | 'GLMVT' | 'LSMMVT' | 'STMMVT' | 'maidai' | 'yvweth' | 'wsteth' | 'beefy-eth-steth-crv' | 'stmatic' | 'gdai' | 'maticx' | 'yvcurve-steth-f-perf' | 'stake-dao-crv-eth-steth-perf' | 'beefy-eth-steth-crv-perf' | 'arb' | 'weth-i' | 'wbtc-i' | 'cbeth' | 'steth' | 'ldo' | 'sdai' | 'sfrxETH' | 'aero';
10
+ export type SnapshotCanonicalChoiceName = 'Wrapped MATIC (Polygon)' | 'WETH (Polygon)' | 'WBTC (Polygon)' | 'AAVE (Polygon)' | 'LINK (Polygon)' | 'xxLINK (Polygon)' | 'KNC (Polygon)' | 'CRV (Polygon)' | 'BAL (Polygon)' | 'GHST (Polygon)' | 'vGHST (Polygon)' | 'Frax Share (Polygon)' | 'SAND (Polygon)' | 'Compounding Aave MATIC (Polygon)' | 'Compounding Aave ETH (Polygon)' | 'Compounding Aave AAVE (Polygon)' | 'Compounding Aave WBTC (Polygon)' | 'WETH (Fantom)' | 'WFTM (Fantom)' | 'LINK (Fantom)' | 'WBTC (Fantom)' | 'SUSHI (Fantom)' | 'AAVE (Fantom)' | 'mooBIFI (Fantom)' | 'xBOO (Fantom)' | 'Yearn vault WFTM (Fantom)' | 'Yearn vault BTC (Fantom)' | 'Yearn vault ETH (Fantom)' | 'Yearn vault YFI (Fantom)' | 'WBTC (Avalanche)' | 'WETH (Avalanche)' | 'WAVAX (Avalanche)' | 'Beefy Aave AVAX (Avalanche)' | 'MOVR (Moonriver)' | 'WETH (Gnosis Chain)' | 'GNO (Gnosis Chain)' | 'WETH (Arbitrum)' | 'WBTC (Arbitrum)' | 'WETH (Optimism)' | 'WBTC (Optimism)' | 'OP (Optimism)' | 'Beefy Aave ETH (Optimism)' | 'Beefy Aave BTC (Optimism)' | 'CAKE (BNB)' | 'BNB (BNB)' | 'DODO (BNB)' | 'METIS (Metis)' | 'WETH (Metis)' | 'WBTC (Metis)' | 'm.WBTC (Metis)' | 'Yearn WETH (Ethereum)' | 'Yearn LINK (Ethereum)' | 'WBTC (Ethereum)' | 'WETH (Ethereum)' | 'StakeDAO Curve ETH/stETH (Eth)' | 'Yearn Curve ETH/stETH (Ethereum)' | 'MAI DAI Arrakis Polygon' | 'Wrapped Staked ETH (Optimism)' | 'Yearn vault ETH (Optimism)' | 'Beefy stETH Curve (Optimism)' | 'Beefy stETH Curve (Arbitrum)' | 'StakeDAO Curve ETH/stETH Perf (Eth)' | 'Beefy stETH Convex Perf (Eth)' | 'Curve (Eth)' | 'Arb (Arbitrum)' | 'WETH-I (Polygon)' | 'WBTC-I (Polygon)' | 'cbEth (Eth)' | 'stEth (Eth)' | 'LDO (Eth)' | 'WETH (ZKEVM)' | 'WMATIC (ZKEVM)' | 'cbEth (Base)' | 'WETH (Base)' | 'Savings DAI (Gnosis Chain)' | 'Wrapped Staked ETH (Linea)' | 'Wrapped Staked ETH (Base)' | 'WBTC (Linea)' | 'Staked Frax Ether (Fraxtal)' | 'Aero (Base)' | 'MetaPool ETH (Linea)' | 'ezETH (Base)';
11
+ export type VaultShortName = 'aave' | 'avax' | 'avaxweth' | 'avaxwbtc' | 'bal' | 'bal-old' | 'beefy-aave-avax' | 'beefy-aave-dai' | 'beefy-aave-weth' | 'beefy-aave-wbtc' | 'beefy-bifi' | 'beefy-scream-dai' | 'beefy-scream-eth' | 'beefy-scream-ftm' | 'beefy-scream-link' | 'beefy-scream-wbtc' | 'beefy-spooky-btc-ftm' | 'beefy-spooky-eth-ftm' | 'btc' | 'btc_old' | 'cake' | 'camaave' | 'camdai' | 'camwbtc' | 'camweth' | 'camwmatic' | 'crv' | 'cxada' | 'cxdoge' | 'cxeth' | 'dquick' | 'dquick-old' | 'eth' | 'ftm' | 'ftmweth' | 'fxs' | 'ghst' | 'gno' | 'link' | 'matic' | 'moo-solar-eth-usdc' | 'moo-solar-movr-usdc' | 'movr' | 'one' | 'sdam3crv' | 'sdav3crv' | 'sushi' | 'vghst' | 'wbtc' | 'wbnb' | 'weth' | 'weth-old' | 'yveth' | 'yvlink' | 'yvcrv-eth-steth' | 'yvwdai' | 'yvwftm' | 'yvwbtc' | 'yvyfi' | 'celsius' | 'sand' | 'stake-dao-crv-eth-steth' | 'wmatic' | 'xboo' | 'dodo' | 'xxdai' | 'xxlink' | 'op' | 'metis' | 'mwbtc' | 'knc' | 'xSMVT' | 'GLMVT' | 'LSMMVT' | 'STMMVT' | 'maidai' | 'yvweth' | 'wsteth' | 'beefy-eth-steth-crv' | 'stmatic' | 'gdai' | 'maticx' | 'yvcurve-steth-f-perf' | 'stake-dao-crv-eth-steth-perf' | 'beefy-eth-steth-crv-perf' | 'arb' | 'weth-i' | 'wbtc-i' | 'cbeth' | 'steth' | 'ldo' | 'sdai' | 'sfrxETH' | 'aero' | 'mpETH' | 'ezeth' | 'dai' | 'usdc';
12
12
  export type RawVaultContractAbiV1 = typeof qiStablecoin | typeof erc20Stablecoin | typeof erc20QiStablecoinwbtc | typeof erc20QiStablecoincamwbtc | typeof crosschainQiStablecoin | typeof crosschainNativeQiStablecoin | typeof crosschainQiStablecoinV2 | typeof crosschainQiStablecoinSlim | typeof crosschainQiStablecoinSlimV2 | typeof crosschainQiStablecoinwbtc;
13
13
  export type VaultContractDiscriminatorV1 = 'QiStablecoin' | 'Erc20Stablecoin' | 'Erc20QiStablecoinwbtc' | 'Erc20QiStablecoincamwbtc' | 'CrosschainQiStablecoin' | 'CrosschainNativeQiStablecoin' | 'CrosschainQiStablecoinV2' | 'CrosschainQiStablecoinSlim' | 'CrosschainQiStablecoinSlimV2' | 'CrosschainQiStablecoinwbtc';
14
14
  export type VaultContractDiscriminatorV2 = 'StableQiVault';
@@ -2644,6 +2644,21 @@ declare const BASE_COLLATERALS: ({
2644
2644
  platform: "Aerodrome"[];
2645
2645
  addedAt: number;
2646
2646
  deprecated: false;
2647
+ } | {
2648
+ shortName: "ezeth";
2649
+ vaultAddress: string;
2650
+ chainId: ChainId.BASE;
2651
+ token: Token;
2652
+ connect: typeof StableQiVault__factory.connect;
2653
+ discriminator: "StableQiVault";
2654
+ minimumCDR: number;
2655
+ frontend: FRONTEND.MAI;
2656
+ version: 2;
2657
+ snapshotName: "ezETH (Base)";
2658
+ underlyingIds: "renzo"[];
2659
+ platform: "Renzo"[];
2660
+ addedAt: number;
2661
+ deprecated: false;
2647
2662
  })[];
2648
2663
  declare const LINEA_COLLATERALS: ({
2649
2664
  shortName: "wsteth";
@@ -2660,6 +2675,7 @@ declare const LINEA_COLLATERALS: ({
2660
2675
  platform: "Lido"[];
2661
2676
  addedAt: number;
2662
2677
  deprecated: false;
2678
+ fallbackUnderlyingAddress?: undefined;
2663
2679
  } | {
2664
2680
  shortName: "wbtc";
2665
2681
  vaultAddress: string;
@@ -2675,6 +2691,7 @@ declare const LINEA_COLLATERALS: ({
2675
2691
  addedAt: number;
2676
2692
  deprecated: false;
2677
2693
  platform?: undefined;
2694
+ fallbackUnderlyingAddress?: undefined;
2678
2695
  } | {
2679
2696
  shortName: "weth";
2680
2697
  vaultAddress: string;
@@ -2690,6 +2707,23 @@ declare const LINEA_COLLATERALS: ({
2690
2707
  addedAt: number;
2691
2708
  deprecated: false;
2692
2709
  platform?: undefined;
2710
+ fallbackUnderlyingAddress?: undefined;
2711
+ } | {
2712
+ shortName: "mpETH";
2713
+ vaultAddress: string;
2714
+ chainId: ChainId.LINEA;
2715
+ token: Token;
2716
+ connect: typeof StableQiVault__factory.connect;
2717
+ discriminator: "StableQiVault";
2718
+ minimumCDR: number;
2719
+ frontend: FRONTEND.MAI;
2720
+ version: 2;
2721
+ snapshotName: "MetaPool ETH (Linea)";
2722
+ underlyingIds: "metapool"[];
2723
+ addedAt: number;
2724
+ fallbackUnderlyingAddress: string;
2725
+ deprecated: false;
2726
+ platform?: undefined;
2693
2727
  })[];
2694
2728
  declare const SCROLL_COLLATERALS: never[];
2695
2729
  declare const FRAXTAL_COLLATERALS: {
@@ -2750,4 +2784,7 @@ export declare const COLLATERALS: {
2750
2784
  [ChainId.SCROLL]: typeof SCROLL_COLLATERALS;
2751
2785
  [ChainId.FRAXTAL]: typeof FRAXTAL_COLLATERALS;
2752
2786
  };
2787
+ export declare const PSM: {
2788
+ [chainId in ChainId]?: (COLLATERAL | GAUGE_VALID_COLLATERAL | COLLATERAL_V2 | GAUGE_VALID_COLLATERAL_V2)[];
2789
+ };
2753
2790
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qidao/sdk",
3
3
  "license": "MIT",
4
- "version": "5.3.18",
4
+ "version": "5.3.23",
5
5
  "description": "🛠 An SDK for building applications on top of QiDao Protocol.",
6
6
  "main": "./dist/index.js",
7
7
  "umd:main": "dist/index.umd.js",