@qidao/sdk 5.3.30 → 5.3.32-beta.5

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.
@@ -340,6 +340,7 @@ export declare const TOKEN_DESCRIPTIONS: {
340
340
  export declare const WFTM_ADDRESS = "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83";
341
341
  export declare const STETH_ADDRESS = "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84";
342
342
  export declare const METIS_WBTC_ADDRESS = "0xa5B55ab1dAF0F8e1EFc0eB1931a957fd89B918f4";
343
+ export declare const METIS_USDC_ADDRESS = "0xEA32A96608495e54156Ae48931A7c20f0dcc1a21";
343
344
  export declare const AAVE_ADDRESS = "0xD6DF932A45C0f255f85145f286eA0b292B21C90B";
344
345
  export declare const ETH_CRV_ADDRESS = "0xD533a949740bb3306d119CC777fa900bA034cd52";
345
346
  export declare const ARBI_ARB_ADDRESS = "0x912CE59144191C1204E64559FE8253a0e49E6548";
@@ -354,6 +355,7 @@ export declare const BASE_WSTETH_ADDRESS = "0xc1CBa3fCea344f92D9239c08C0568f6F2F
354
355
  export declare const BASE_AERO_ADDRESS = "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
355
356
  export declare const BASE_EZETH_ADDRESS = "0x2416092f143378750bb29b79eD961ab195CcEea5";
356
357
  export declare const BASE_CBBTC_ADDRESS = "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
358
+ export declare const BASE_LBTC_ADDRESS = "0xecAc9C5F704e954931349Da37F60E39f515c11c1";
357
359
  export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
358
360
  export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
359
361
  export declare const LINEA_WBTC_ADDRESS = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4";
@@ -413,9 +415,13 @@ export declare const BASE_EZETH_VAULT_ADDRESS = "0x491E3a7cDA79aF2bba5De48C58445
413
415
  export declare const BASE_BEEFY_COMPOUND_PSM_ADDRESS = "0x83D41737d086033A9c3acE2F1Ad9350d7d91cf02";
414
416
  export declare const BASE_MORHPO_GAUNTLET_PSM_ADDRESS = "0x88960e693CE3bd88e8b46450097aB9Ec25b6cd4C";
415
417
  export declare const BASE_MORPHO_STEAKHOUSE_PSM_ADDRESS = "0x19286B2786b0aBd65334CC054F5763b95fD39022";
416
- export declare const BASE_VE_AERO_VAULT_ADDRESS = "0x3508A8BCb376b75DbaCF25e92BB015B82C913a56";
418
+ export declare const BASE_CLAIM_OUTDATE_VE_AERO_VAULT_ADDRESS = "0x3508A8BCb376b75DbaCF25e92BB015B82C913a56";
417
419
  export declare const BASE_OLD_VE_AERO_VAULT_ADDRESS = "0xE8B5601b32b847FE0371246dB143D6fAbF8EAD21";
420
+ export declare const BASE_OUTDATE_OWNERSHIP_VE_AERO_VAULT_ADDRESS = "0x167A00e03b96627f568B42FC9F97394ecF9Ad7B4";
421
+ export declare const BASE_VE_AERO_NO_FUND_RESCUE_VAULT_ADDRESS = "0xA21ba44e057076B8C695aeE7903225E2f588Fb81";
422
+ export declare const BASE_VE_AERO_VAULT_ADDRESS = "0xAB9C4CA8c30C0a703aa7f134b74005a5277ec7f1";
418
423
  export declare const BASE_CBBTC_VAULT_ADDRESS = "0x806C0287f0e7124567c35D9A2a20B79c94179313";
424
+ export declare const BASE_LBTC_VAULT_ADDRESS = "0xeCB58D7Fe61765c6a4CA577C6b3013f543Eb2fEa";
419
425
  export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
420
426
  export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
421
427
  export declare const LINEA_WBTC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
@@ -423,3 +429,4 @@ export declare const LINEA_WETH_VAULT_ADDRESS = "0x7f9Dd991e8fD0cBb52CB8Eb35DD35
423
429
  export declare const LINEA_MPETH_VAULT_ADDRESS = "0x60d133c666919B54a3254E0d3F14332cB783B733";
424
430
  export declare const LINEA_PSM_ADDRESS = "0x2F5CEDafF534Cc816Ed6F551eb2B73d6F1DAA440";
425
431
  export declare const FRAXTAL_SFRXETH_VAULT_ADDRESS = "0xbf1aeA8670D2528E08334083616dD9C5F3B087aE";
432
+ export declare const METIS_PSM_ADDRESS = "0x7A802AAB2185480DfE16d936462FD3BeCcEECB00";
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ export {};
@@ -7,8 +7,8 @@ import { QiStablecoin__factory } from './contracts/factories/QiStablecoin__facto
7
7
  import { QiStablecoin } from './contracts/QiStablecoin';
8
8
  import { Token } from './entities';
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)' | 'MetaPool ETH (Linea)' | 'ezETH (Base)' | 'VeAero (Base)' | 'cbBTC (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' | 'veaero' | 'veaero-old' | 'cbbtc';
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)' | 'USDC (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)' | 'VeAero (Base)' | 'cbBTC (Base)' | 'LBTC (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' | 'veaero' | 'veaero-old' | 'veaero-outdated-claim' | 'veaero-outdated-ownership' | 'veaero-no-fund-rescue' | 'cbbtc' | 'lbtc';
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' | 'GraceQiVault';
@@ -2714,6 +2714,51 @@ declare const BASE_COLLATERALS: ({
2714
2714
  platform: "Aerodrome"[];
2715
2715
  addedAt: number;
2716
2716
  deprecated: false;
2717
+ } | {
2718
+ shortName: "veaero-no-fund-rescue";
2719
+ vaultAddress: string;
2720
+ chainId: ChainId.BASE;
2721
+ token: Token;
2722
+ connect: typeof GraceQiVault__factory.connect;
2723
+ discriminator: "GraceQiVault";
2724
+ minimumCDR: number;
2725
+ frontend: FRONTEND.MAI;
2726
+ version: 2;
2727
+ snapshotName: "VeAero (Base)";
2728
+ underlyingIds: "aerodrome-finance"[];
2729
+ platform: "Aerodrome"[];
2730
+ addedAt: number;
2731
+ deprecated: false;
2732
+ } | {
2733
+ shortName: "veaero-outdated-ownership";
2734
+ vaultAddress: string;
2735
+ chainId: ChainId.BASE;
2736
+ token: Token;
2737
+ connect: typeof GraceQiVault__factory.connect;
2738
+ discriminator: "GraceQiVault";
2739
+ minimumCDR: number;
2740
+ frontend: FRONTEND.MAI;
2741
+ version: 2;
2742
+ snapshotName: "VeAero (Base)";
2743
+ underlyingIds: "aerodrome-finance"[];
2744
+ platform: "Aerodrome"[];
2745
+ addedAt: number;
2746
+ deprecated: false;
2747
+ } | {
2748
+ shortName: "veaero-outdated-claim";
2749
+ vaultAddress: string;
2750
+ chainId: ChainId.BASE;
2751
+ token: Token;
2752
+ connect: typeof GraceQiVaultOld__factory.connect;
2753
+ discriminator: "GraceQiVault";
2754
+ minimumCDR: number;
2755
+ frontend: FRONTEND.MAI;
2756
+ version: 2;
2757
+ snapshotName: "VeAero (Base)";
2758
+ underlyingIds: "aerodrome-finance"[];
2759
+ platform: "Aerodrome"[];
2760
+ addedAt: number;
2761
+ deprecated: false;
2717
2762
  } | {
2718
2763
  shortName: "veaero-old";
2719
2764
  vaultAddress: string;
@@ -2744,6 +2789,21 @@ declare const BASE_COLLATERALS: ({
2744
2789
  addedAt: number;
2745
2790
  deprecated: false;
2746
2791
  platform?: undefined;
2792
+ } | {
2793
+ shortName: "lbtc";
2794
+ vaultAddress: string;
2795
+ chainId: ChainId.BASE;
2796
+ token: Token;
2797
+ connect: typeof StableQiVault__factory.connect;
2798
+ discriminator: "StableQiVault";
2799
+ minimumCDR: number;
2800
+ frontend: FRONTEND.MAI;
2801
+ version: 2;
2802
+ snapshotName: "LBTC (Base)";
2803
+ underlyingIds: never[];
2804
+ addedAt: number;
2805
+ deprecated: false;
2806
+ platform?: undefined;
2747
2807
  })[];
2748
2808
  declare const LINEA_COLLATERALS: ({
2749
2809
  shortName: "wsteth";
@@ -2938,5 +2998,19 @@ export declare const PSM: {
2938
2998
  readonly connect: () => never;
2939
2999
  readonly underlyingIds: readonly ["beefy-finance", "compound"];
2940
3000
  }];
3001
+ readonly 1088: readonly [{
3002
+ readonly chainId: ChainId.METIS;
3003
+ readonly vaultAddress: "0x7A802AAB2185480DfE16d936462FD3BeCcEECB00";
3004
+ readonly token: Token;
3005
+ readonly addedAt: 1750640400;
3006
+ readonly deprecated: false;
3007
+ readonly discriminator: "StableQiVault";
3008
+ readonly frontend: FRONTEND.MAI;
3009
+ readonly minimumCDR: 200;
3010
+ readonly shortName: "usdc";
3011
+ readonly version: 2;
3012
+ readonly connect: () => never;
3013
+ readonly underlyingIds: readonly [];
3014
+ }];
2941
3015
  };
2942
3016
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qidao/sdk",
3
3
  "license": "MIT",
4
- "version": "5.3.30",
4
+ "version": "5.3.32-beta.5",
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",
@@ -20,7 +20,7 @@
20
20
  "repository": "https://github.com/royalaid/sushiswap-sdk",
21
21
  "keywords": [],
22
22
  "scripts": {
23
- "checkTokens": "node src/scripts/validateCoinGeckoFallbackTokens.mjs",
23
+ "checkTokens": "bun run src/scripts/validateCoinGeckoFallbackTokens.ts",
24
24
  "fetchTokenDescriptions": "node src/scripts/fetchTokenDescriptions.mjs",
25
25
  "build": "typechain --discriminate-types --target ethers-v5 --out-dir src/contracts \"src/abis/toGenerate/**/*.json\" && microbundle",
26
26
  "prepack": "typechain --discriminate-types --target ethers-v5 --out-dir src/contracts \"src/abis/toGenerate/**/*.json\" && microbundle",