@qidao/sdk 5.3.11 → 5.3.14
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 +1 -1
- package/dist/src/constants.d.ts +2 -1
- package/dist/src/entities/currency.d.ts +2 -0
- package/dist/src/entities/token.d.ts +1 -0
- package/dist/src/vaultInfo.d.ts +1 -0
- package/dist/src/zapInfo.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/ZapMeta.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface ScalingInfo {
|
|
|
8
8
|
priceScalingFactor?: ScalingDetails;
|
|
9
9
|
liquidationScalingFactor?: ScalingDetails;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export interface ZapMeta {
|
|
12
12
|
vaultType: 'YEARN' | 'BEEFY';
|
|
13
13
|
underlying: Token;
|
|
14
14
|
underlyingPriceSourceAddress: string;
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare class Currency {
|
|
|
32
32
|
static readonly CUBE: Currency;
|
|
33
33
|
static readonly CANTO: Currency;
|
|
34
34
|
static readonly WWDOGE: Currency;
|
|
35
|
+
static readonly FRXETH: Currency;
|
|
35
36
|
static readonly NATIVE: {
|
|
36
37
|
1: Currency;
|
|
37
38
|
5: Currency;
|
|
@@ -71,6 +72,7 @@ export declare class Currency {
|
|
|
71
72
|
8453: Currency;
|
|
72
73
|
59144: Currency;
|
|
73
74
|
534352: Currency;
|
|
75
|
+
252: Currency;
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
76
78
|
* Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.ETHER`.
|
package/dist/src/vaultInfo.d.ts
CHANGED
|
@@ -2718,5 +2718,6 @@ export declare const COLLATERALS: {
|
|
|
2718
2718
|
[ChainId.BASE]: typeof BASE_COLLATERALS;
|
|
2719
2719
|
[ChainId.LINEA]: typeof LINEA_COLLATERALS;
|
|
2720
2720
|
[ChainId.SCROLL]: typeof SCROLL_COLLATERALS;
|
|
2721
|
+
[ChainId.FRAXTAL]: typeof EMPTY_COLLATERALS;
|
|
2721
2722
|
};
|
|
2722
2723
|
export {};
|
package/dist/src/zapInfo.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BigNumber, CallOverrides, Signer } from 'ethers';
|
|
2
2
|
import { ChainId } from './constants';
|
|
3
|
-
import ZapMeta,
|
|
3
|
+
import { ZapMeta, CamMeta, QiZapGainsMeta, QiZapMeta, QiZapThreeStepMeta } from './ZapMeta';
|
|
4
4
|
export declare function beefyZapToVault(signer: Signer, zapperAddress: string, assetAddress: string, mooAssetAddress: string, mooAssetVaultAddress: string, amount: BigNumber, vaultIndex: BigNumber, overrides?: CallOverrides): Promise<any>;
|
|
5
5
|
export declare function beefyZapFromVault(signer: Signer, zapperAddress: string, assetAddress: string, mooAssetAddress: string, mooAssetVaultAddress: string, amount: BigNumber, vaultIndex: BigNumber, overrides?: CallOverrides): Promise<any>;
|
|
6
6
|
export declare const ZAP_META: {
|