@qidao/sdk 5.3.16 → 5.3.18
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/ProtocolInfo.d.ts +1 -1
- package/dist/src/constants.d.ts +7 -0
- package/dist/src/vaultInfo.d.ts +17 -2
- package/package.json +1 -1
|
@@ -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';
|
|
1
|
+
export type PLATFORM = 'Beefy' | 'Yearn' | 'Curve' | 'AaveV2' | 'AaveV3' | 'Balancer' | 'Lido' | 'Arrakis' | 'QuickSwap' | 'Gains' | 'GotchiVault' | 'Stader' | 'StakeDAO' | 'Tetu' | 'Spookyswap' | 'Convex' | 'Coinbase' | 'Optimism' | 'Arbitrum' | 'Aerodrome';
|
|
2
2
|
export declare const ProtocolInfo: {
|
|
3
3
|
[k in PLATFORM]: {
|
|
4
4
|
description: string;
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -316,6 +316,11 @@ export declare const TOKEN_DESCRIPTIONS: {
|
|
|
316
316
|
logo: string;
|
|
317
317
|
name: string;
|
|
318
318
|
};
|
|
319
|
+
"aerodrome-finance": {
|
|
320
|
+
shortDescription: string;
|
|
321
|
+
logo: string;
|
|
322
|
+
name: string;
|
|
323
|
+
};
|
|
319
324
|
};
|
|
320
325
|
export declare const WFTM_ADDRESS = "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83";
|
|
321
326
|
export declare const STETH_ADDRESS = "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84";
|
|
@@ -331,6 +336,7 @@ export declare const ZKEVM_WMATIC_ADDRESS = "0xa2036f0538221a77A3937F1379699f449
|
|
|
331
336
|
export declare const BASE_WETH_ADDRESS = "0x4200000000000000000000000000000000000006";
|
|
332
337
|
export declare const BASE_CBETH_ADDRESS = "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22";
|
|
333
338
|
export declare const BASE_WSTETH_ADDRESS = "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
|
|
339
|
+
export declare const BASE_AERO_ADDRESS = "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
|
|
334
340
|
export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
|
|
335
341
|
export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
|
|
336
342
|
export declare const LINEA_WBTC_ADDRESS = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4";
|
|
@@ -383,6 +389,7 @@ export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0xC8A3e6F64f3a73F5b53Dbf4E20C
|
|
|
383
389
|
export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
|
|
384
390
|
export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
|
|
385
391
|
export declare const BASE_WSTETH_VAULT_ADDRESS = "0x654a31Ba7D714cfCab19b17D0066171c1A292349";
|
|
392
|
+
export declare const BASE_AERO_VAULT_ADDRESS = "0x20658fDaBD4C79F1B3666E5bcCAeF78b5059B109";
|
|
386
393
|
export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
|
|
387
394
|
export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
|
|
388
395
|
export declare const LINEA_WBTC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
|
package/dist/src/vaultInfo.d.ts
CHANGED
|
@@ -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)';
|
|
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';
|
|
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';
|
|
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';
|
|
@@ -2629,6 +2629,21 @@ declare const BASE_COLLATERALS: ({
|
|
|
2629
2629
|
platform: "Lido"[];
|
|
2630
2630
|
addedAt: number;
|
|
2631
2631
|
deprecated: false;
|
|
2632
|
+
} | {
|
|
2633
|
+
shortName: "aero";
|
|
2634
|
+
vaultAddress: string;
|
|
2635
|
+
chainId: ChainId.BASE;
|
|
2636
|
+
token: Token;
|
|
2637
|
+
connect: typeof StableQiVault__factory.connect;
|
|
2638
|
+
discriminator: "StableQiVault";
|
|
2639
|
+
minimumCDR: number;
|
|
2640
|
+
frontend: FRONTEND.MAI;
|
|
2641
|
+
version: 2;
|
|
2642
|
+
snapshotName: "Aero (Base)";
|
|
2643
|
+
underlyingIds: "aerodrome-finance"[];
|
|
2644
|
+
platform: "Aerodrome"[];
|
|
2645
|
+
addedAt: number;
|
|
2646
|
+
deprecated: false;
|
|
2632
2647
|
})[];
|
|
2633
2648
|
declare const LINEA_COLLATERALS: ({
|
|
2634
2649
|
shortName: "wsteth";
|