@qidao/sdk 5.3.1 → 5.3.2
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/constants.d.ts +5 -1
- package/dist/src/entities/currency.d.ts +1 -0
- package/dist/src/entities/token.d.ts +1 -0
- package/dist/src/vaultInfo.d.ts +18 -1
- package/package.json +1 -1
package/dist/src/constants.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const ARBI_GAINS_ZAPPER = "0xeA97a391aD06a1F81C565CE29Fd4AD09c6FB
|
|
|
11
11
|
export declare const MAINNET_ZAPPER = "0x5AA5079A8037f9D050D838AEFCe10bA7B8b8b001";
|
|
12
12
|
export declare const BASE_THREE_STEP_ZAPPER = "0x70dD6dEf31E7285EcA5d2341FD9136A786c29422";
|
|
13
13
|
export declare const XDAI_THREE_STEP_ZAPPER = "0xb9e1b02e3a3a58b2c48e5ea3d830007e9d6d2e0b";
|
|
14
|
+
export declare const LINEA_THREE_STEP_ZAPPER = "0xD7Acff6De10A71710C05132eB771e96630Ae132b";
|
|
14
15
|
export declare enum ChainId {
|
|
15
16
|
MAINNET = 1,
|
|
16
17
|
GÖRLI = 5,
|
|
@@ -47,7 +48,8 @@ export declare enum ChainId {
|
|
|
47
48
|
CANTO = 7700,
|
|
48
49
|
DOGECHAIN = 2000,
|
|
49
50
|
ZKEVM = 1101,
|
|
50
|
-
BASE = 8453
|
|
51
|
+
BASE = 8453,
|
|
52
|
+
LINEA = 59144
|
|
51
53
|
}
|
|
52
54
|
export declare enum TradeType {
|
|
53
55
|
EXACT_INPUT = 0,
|
|
@@ -316,6 +318,7 @@ export declare const ZKEVM_WMATIC_ADDRESS = "0xa2036f0538221a77A3937F1379699f449
|
|
|
316
318
|
export declare const BASE_WETH_ADDRESS = "0x4200000000000000000000000000000000000006";
|
|
317
319
|
export declare const BASE_CBETH_ADDRESS = "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22";
|
|
318
320
|
export declare const XDAI_SDAI_ADDRESS = "0xaf204776c7245bF4147c2612BF6e5972Ee483701";
|
|
321
|
+
export declare const LINEA_WSTETH_ADDRESS = "0xB5beDd42000b71FddE22D3eE8a79Bd49A568fC8F";
|
|
319
322
|
export declare const CAMWMATIC_VAULT_ADDRESS = "0x88d84a85A87ED12B8f098e8953B322fF789fCD1a";
|
|
320
323
|
export declare const CAMWETH_VAULT_ADDRESS = "0x11A33631a5B5349AF3F165d2B7901A4d67e561ad";
|
|
321
324
|
export declare const CAMAAVE_VAULT_ADDRESS = "0x578375c3af7d61586c2C3A7BA87d2eEd640EFA40";
|
|
@@ -363,3 +366,4 @@ export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eec
|
|
|
363
366
|
export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
|
|
364
367
|
export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
|
|
365
368
|
export declare const XDAI_SDAI_VAULT_ADDRESS = "0x79AFAD49e968E7bEA7a23933E294a94E33E60158";
|
|
369
|
+
export declare const LINEA_WSTETH_VAULT_ADDRESS = "0x759D0e8623C5028ED4D447dB25Bbe789FD07A43D";
|
package/dist/src/vaultInfo.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ 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)';
|
|
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)';
|
|
11
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';
|
|
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';
|
|
@@ -2566,6 +2566,22 @@ declare const BASE_COLLATERALS: ({
|
|
|
2566
2566
|
addedAt: number;
|
|
2567
2567
|
deprecated: false;
|
|
2568
2568
|
})[];
|
|
2569
|
+
declare const LINEA_COLLATERALS: {
|
|
2570
|
+
shortName: "wsteth";
|
|
2571
|
+
vaultAddress: string;
|
|
2572
|
+
chainId: ChainId.LINEA;
|
|
2573
|
+
token: Token;
|
|
2574
|
+
connect: typeof StableQiVault__factory.connect;
|
|
2575
|
+
discriminator: "StableQiVault";
|
|
2576
|
+
minimumCDR: number;
|
|
2577
|
+
frontend: FRONTEND.MAI;
|
|
2578
|
+
version: 2;
|
|
2579
|
+
snapshotName: "Wrapped Staked ETH (Linea)";
|
|
2580
|
+
underlyingIds: "lido-staked-ether"[];
|
|
2581
|
+
platform: "Lido"[];
|
|
2582
|
+
addedAt: number;
|
|
2583
|
+
deprecated: false;
|
|
2584
|
+
}[];
|
|
2569
2585
|
declare const EMPTY_COLLATERALS: never[];
|
|
2570
2586
|
export declare const COLLATERALS: {
|
|
2571
2587
|
[ChainId.MAINNET]: typeof MAINNET_COLLATERALS;
|
|
@@ -2605,5 +2621,6 @@ export declare const COLLATERALS: {
|
|
|
2605
2621
|
[ChainId.DOGECHAIN]: typeof EMPTY_COLLATERALS;
|
|
2606
2622
|
[ChainId.ZKEVM]: typeof EMPTY_COLLATERALS;
|
|
2607
2623
|
[ChainId.BASE]: typeof BASE_COLLATERALS;
|
|
2624
|
+
[ChainId.LINEA]: typeof LINEA_COLLATERALS;
|
|
2608
2625
|
};
|
|
2609
2626
|
export {};
|