@qidao/sdk 5.3.17 → 5.3.20
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 +21 -0
- package/dist/src/vaultInfo.d.ts +51 -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' | 'Metapool' | 'Renzo';
|
|
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,21 @@ 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
|
+
};
|
|
324
|
+
metapool: {
|
|
325
|
+
shortDescription: string;
|
|
326
|
+
logo: string;
|
|
327
|
+
name: string;
|
|
328
|
+
};
|
|
329
|
+
renzo: {
|
|
330
|
+
shortDescription: string;
|
|
331
|
+
logo: string;
|
|
332
|
+
name: string;
|
|
333
|
+
};
|
|
319
334
|
};
|
|
320
335
|
export declare const WFTM_ADDRESS = "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83";
|
|
321
336
|
export declare const STETH_ADDRESS = "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84";
|
|
@@ -331,10 +346,13 @@ export declare const ZKEVM_WMATIC_ADDRESS = "0xa2036f0538221a77A3937F1379699f449
|
|
|
331
346
|
export declare const BASE_WETH_ADDRESS = "0x4200000000000000000000000000000000000006";
|
|
332
347
|
export declare const BASE_CBETH_ADDRESS = "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22";
|
|
333
348
|
export declare const BASE_WSTETH_ADDRESS = "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
|
|
349
|
+
export declare const BASE_AERO_ADDRESS = "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
|
|
350
|
+
export declare const BASE_EZETH_ADDRESS = "0x2416092f143378750bb29b79eD961ab195CcEea5";
|
|
334
351
|
export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
|
|
335
352
|
export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
|
|
336
353
|
export declare const LINEA_WBTC_ADDRESS = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4";
|
|
337
354
|
export declare const LINEA_WETH_ADDRESS = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f";
|
|
355
|
+
export declare const LINEA_MPETH_ADDRESS = "0xda7d3Ef7c899079EB101F3B31c272DBe9639BDA6";
|
|
338
356
|
export declare const FRAXTAL_SFRXETH_ADDRESS = "0xFC00000000000000000000000000000000000005";
|
|
339
357
|
export declare const CAMWMATIC_VAULT_ADDRESS = "0x88d84a85A87ED12B8f098e8953B322fF789fCD1a";
|
|
340
358
|
export declare const CAMWETH_VAULT_ADDRESS = "0x11A33631a5B5349AF3F165d2B7901A4d67e561ad";
|
|
@@ -383,8 +401,11 @@ export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0xC8A3e6F64f3a73F5b53Dbf4E20C
|
|
|
383
401
|
export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
|
|
384
402
|
export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
|
|
385
403
|
export declare const BASE_WSTETH_VAULT_ADDRESS = "0x654a31Ba7D714cfCab19b17D0066171c1A292349";
|
|
404
|
+
export declare const BASE_AERO_VAULT_ADDRESS = "0x20658fDaBD4C79F1B3666E5bcCAeF78b5059B109";
|
|
405
|
+
export declare const BASE_EZETH_VAULT_ADDRESS = "0x491E3a7cDA79aF2bba5De48C58445644821D14dE";
|
|
386
406
|
export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
|
|
387
407
|
export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
|
|
388
408
|
export declare const LINEA_WBTC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
|
|
389
409
|
export declare const LINEA_WETH_VAULT_ADDRESS = "0x7f9Dd991e8fD0cBb52CB8Eb35DD35c474a9a7a70";
|
|
410
|
+
export declare const LINEA_MPETH_VAULT_ADDRESS = "0x60d133c666919B54a3254E0d3F14332cB783B733";
|
|
390
411
|
export declare const FRAXTAL_SFRXETH_VAULT_ADDRESS = "0xbf1aeA8670D2528E08334083616dD9C5F3B087aE";
|
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)' | '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';
|
|
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,36 @@ 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;
|
|
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;
|
|
2632
2662
|
})[];
|
|
2633
2663
|
declare const LINEA_COLLATERALS: ({
|
|
2634
2664
|
shortName: "wsteth";
|
|
@@ -2645,6 +2675,7 @@ declare const LINEA_COLLATERALS: ({
|
|
|
2645
2675
|
platform: "Lido"[];
|
|
2646
2676
|
addedAt: number;
|
|
2647
2677
|
deprecated: false;
|
|
2678
|
+
fallbackUnderlyingAddress?: undefined;
|
|
2648
2679
|
} | {
|
|
2649
2680
|
shortName: "wbtc";
|
|
2650
2681
|
vaultAddress: string;
|
|
@@ -2660,6 +2691,7 @@ declare const LINEA_COLLATERALS: ({
|
|
|
2660
2691
|
addedAt: number;
|
|
2661
2692
|
deprecated: false;
|
|
2662
2693
|
platform?: undefined;
|
|
2694
|
+
fallbackUnderlyingAddress?: undefined;
|
|
2663
2695
|
} | {
|
|
2664
2696
|
shortName: "weth";
|
|
2665
2697
|
vaultAddress: string;
|
|
@@ -2675,6 +2707,23 @@ declare const LINEA_COLLATERALS: ({
|
|
|
2675
2707
|
addedAt: number;
|
|
2676
2708
|
deprecated: false;
|
|
2677
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;
|
|
2678
2727
|
})[];
|
|
2679
2728
|
declare const SCROLL_COLLATERALS: never[];
|
|
2680
2729
|
declare const FRAXTAL_COLLATERALS: {
|