@qidao/sdk 5.1.77 → 5.1.83
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/ZapMeta.d.ts +8 -2
- package/dist/src/constants.d.ts +5 -1
- package/dist/src/entities/currency.d.ts +2 -0
- package/dist/src/entities/token.d.ts +1 -0
- package/dist/src/tokens.d.ts +2 -2
- package/dist/src/vaultInfo.d.ts +9790 -4972
- package/dist/src/zapInfo.d.ts +2 -1
- package/package.json +1 -1
package/dist/src/ZapMeta.d.ts
CHANGED
|
@@ -42,7 +42,13 @@ export interface QiZapMeta {
|
|
|
42
42
|
zapInFunction: (amount: BigNumber, vaultIndex: BigNumber, signer: Signer, override?: CallOverrides) => any;
|
|
43
43
|
zapOutFunction: (amount: BigNumber, vaultIndex: BigNumber, signer: Signer, override?: CallOverrides) => any;
|
|
44
44
|
}
|
|
45
|
-
export type QiZapGainsMeta = Omit<QiZapMeta, 'underlying' | 'mooAssetAddress'> & {
|
|
46
|
-
|
|
45
|
+
export type QiZapGainsMeta = Omit<QiZapMeta, 'underlying' | 'mooAssetAddress' | 'zapInFunction' | 'zapperAddress'> & {
|
|
46
|
+
depositTokens: Token[];
|
|
47
|
+
zapInFunctions: {
|
|
48
|
+
[s in string]: (amount: BigNumber, vaultIndex: BigNumber, signer: Signer, override?: CallOverrides) => any;
|
|
49
|
+
};
|
|
47
50
|
withdrawToken: Token;
|
|
51
|
+
zapperAddresses: {
|
|
52
|
+
[s in string]: string;
|
|
53
|
+
};
|
|
48
54
|
};
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -40,7 +40,8 @@ export declare enum ChainId {
|
|
|
40
40
|
CELO = 42220,
|
|
41
41
|
AURORA = 1313161554,
|
|
42
42
|
BOBA = 288,
|
|
43
|
-
CUBE = 1818
|
|
43
|
+
CUBE = 1818,
|
|
44
|
+
CANTO = 7700
|
|
44
45
|
}
|
|
45
46
|
export declare enum TradeType {
|
|
46
47
|
EXACT_INPUT = 0,
|
|
@@ -301,9 +302,12 @@ export declare const YVLINK_VAULT_ADDRESS = "0x60d133c666919B54a3254E0d3F14332cB
|
|
|
301
302
|
export declare const WETH_ADDRESS = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
302
303
|
export declare const LINK_ADDRESS = "0x514910771AF9Ca656af840dff83E8264EcF986CA";
|
|
303
304
|
export declare const WSTETH_VAULT_ADDRESS = "0x86f78d3cbCa0636817AD9e27a44996C738Ec4932";
|
|
305
|
+
export declare const MATIC_WSTETH_VAULT_ADDRESS = "0x3bcbAC61456c9C9582132D1493A00E318EA9C122";
|
|
304
306
|
export declare const YVWETH_OPTIMISM_VAULT_ADDRESS = "0x7198FF382b5798dAb7DC72a23C1fec9dc091893B";
|
|
305
307
|
export declare const MOO_ETH_STETH_CRV_VAULT_ADDRESS = "0xa478E708A27853848C6Bc979668fe6225FEe46Fa";
|
|
308
|
+
export declare const OP_KNC_VAULT_ADDRESS = "0xC88C8ADA95d92c149377AA660837460775Dcc6d9";
|
|
306
309
|
export declare const STMATIC_MAI_VAULT_ADDRESS = "0x9A05b116b56304F5f4B3F1D5DA4641bFfFfae6Ab";
|
|
307
310
|
export declare const GDAI_VAULT_ADDRESS = "0xF1104493eC315aF2cb52f0c19605443334928D38";
|
|
308
311
|
export declare const MATICX_MAI_VAULT_ADDRESS = "0xB1F28350539B06D5A35d016908EEf0424bd13c4b";
|
|
309
312
|
export declare const ARBI_GDAI_VAULT_ADDRESS = "0xd371281896f2F5f7A2C65F49d23A2B6ecfd594f3";
|
|
313
|
+
export declare const ARBI_KNC_VAULT_ADDRESS = "0xe47ca047Cb7E6A9AdE9405Ca68077d63424F34eC";
|
|
@@ -30,6 +30,7 @@ export declare class Currency {
|
|
|
30
30
|
static readonly AURORA: Currency;
|
|
31
31
|
static readonly BOBA: Currency;
|
|
32
32
|
static readonly CUBE: Currency;
|
|
33
|
+
static readonly CANTO: Currency;
|
|
33
34
|
static readonly NATIVE: {
|
|
34
35
|
1: Currency;
|
|
35
36
|
5: Currency;
|
|
@@ -63,6 +64,7 @@ export declare class Currency {
|
|
|
63
64
|
1313161554: Currency;
|
|
64
65
|
288: Currency;
|
|
65
66
|
1818: Currency;
|
|
67
|
+
7700: Currency;
|
|
66
68
|
};
|
|
67
69
|
/**
|
|
68
70
|
* Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.ETHER`.
|
package/dist/src/tokens.d.ts
CHANGED