@qidao/sdk 5.3.7 → 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.
@@ -8,7 +8,7 @@ export interface ScalingInfo {
8
8
  priceScalingFactor?: ScalingDetails;
9
9
  liquidationScalingFactor?: ScalingDetails;
10
10
  }
11
- export default interface ZapMeta {
11
+ export interface ZapMeta {
12
12
  vaultType: 'YEARN' | 'BEEFY';
13
13
  underlying: Token;
14
14
  underlyingPriceSourceAddress: string;
@@ -51,7 +51,8 @@ export declare enum ChainId {
51
51
  ZKEVM = 1101,
52
52
  BASE = 8453,
53
53
  LINEA = 59144,
54
- SCROLL = 534352
54
+ SCROLL = 534352,
55
+ FRAXTAL = 252
55
56
  }
56
57
  export declare enum TradeType {
57
58
  EXACT_INPUT = 0,
@@ -366,8 +367,8 @@ export declare const MATIC_WETH_I_VAULT_ADDRESS = "0xB5B31E6A13aE856bc30b3C76B16
366
367
  export declare const ETH_CBETH_VAULT_ADDRESS = "0x4ce4C542D96Ce1872fEA4fa3fbB2E7aE31862Bad";
367
368
  export declare const ETH_STETH_VAULT_ADDRESS = "0x5773e8953cF60F495eB3c2Db45DD753b5c4b7473";
368
369
  export declare const ETH_LDO_VAULT_ADDRESS = "0x954ac12c339c60eafbb32213b15af3f7c7a0dec2";
369
- export declare const ZKEVM_WETH_VAULT_ADDRESS = "0xdb1103a8F51823f5a2439c52C06921CDF929F6A7";
370
- export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0x8AB01c5Ee3422099156ab151eecB83c095626599";
370
+ export declare const ZKEVM_WETH_VAULT_ADDRESS = "0x4d4872fe2D6B8a6297e77510FfEe4EE7c4B274bc";
371
+ export declare const ZKEVM_WMATIC_VAULT_ADDRESS = "0xC8A3e6F64f3a73F5b53Dbf4E20C8A2847161f7AE";
371
372
  export declare const BASE_WETH_VAULT_ADDRESS = "0x8D6CeBD76f18E1558D4DB88138e2DeFB3909fAD6";
372
373
  export declare const BASE_CBETH_VAULT_ADDRESS = "0x7333fd58d8D73a8e5FC1a16C8037ADa4f580FA2B";
373
374
  export declare const BASE_WSTETH_VAULT_ADDRESS = "0x654a31Ba7D714cfCab19b17D0066171c1A292349";
@@ -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`.
@@ -63,4 +63,5 @@ export declare const WNATIVE: {
63
63
  8453: Token;
64
64
  59144: Token;
65
65
  534352: Token;
66
+ 252: Token;
66
67
  };
@@ -2555,6 +2555,35 @@ declare const METIS_COLLATERALS: ({
2555
2555
  snapshotName?: undefined;
2556
2556
  fallbackUnderlyingAddress?: undefined;
2557
2557
  })[];
2558
+ declare const ZKEVM_COLLATERALS: ({
2559
+ shortName: "weth";
2560
+ vaultAddress: string;
2561
+ chainId: ChainId.ZKEVM;
2562
+ token: Token;
2563
+ connect: typeof StableQiVault__factory.connect;
2564
+ discriminator: "StableQiVault";
2565
+ minimumCDR: number;
2566
+ frontend: FRONTEND.MAI;
2567
+ version: 2;
2568
+ snapshotName: "WETH (ZKEVM)";
2569
+ underlyingIds: "weth"[];
2570
+ addedAt: number;
2571
+ deprecated: false;
2572
+ } | {
2573
+ shortName: "wmatic";
2574
+ vaultAddress: string;
2575
+ chainId: ChainId.ZKEVM;
2576
+ token: Token;
2577
+ connect: typeof StableQiVault__factory.connect;
2578
+ discriminator: "StableQiVault";
2579
+ minimumCDR: number;
2580
+ frontend: FRONTEND.MAI;
2581
+ version: 2;
2582
+ snapshotName: "WMATIC (ZKEVM)";
2583
+ underlyingIds: "wrapped-matic"[];
2584
+ addedAt: number;
2585
+ deprecated: false;
2586
+ })[];
2558
2587
  declare const BASE_COLLATERALS: ({
2559
2588
  shortName: "weth";
2560
2589
  vaultAddress: string;
@@ -2685,9 +2714,10 @@ export declare const COLLATERALS: {
2685
2714
  [ChainId.KLAYTN]: typeof EMPTY_COLLATERALS;
2686
2715
  [ChainId.CANTO]: typeof EMPTY_COLLATERALS;
2687
2716
  [ChainId.DOGECHAIN]: typeof EMPTY_COLLATERALS;
2688
- [ChainId.ZKEVM]: typeof EMPTY_COLLATERALS;
2717
+ [ChainId.ZKEVM]: typeof ZKEVM_COLLATERALS;
2689
2718
  [ChainId.BASE]: typeof BASE_COLLATERALS;
2690
2719
  [ChainId.LINEA]: typeof LINEA_COLLATERALS;
2691
2720
  [ChainId.SCROLL]: typeof SCROLL_COLLATERALS;
2721
+ [ChainId.FRAXTAL]: typeof EMPTY_COLLATERALS;
2692
2722
  };
2693
2723
  export {};
@@ -1,6 +1,6 @@
1
1
  import { BigNumber, CallOverrides, Signer } from 'ethers';
2
2
  import { ChainId } from './constants';
3
- import ZapMeta, { CamMeta, QiZapGainsMeta, QiZapMeta, QiZapThreeStepMeta } from './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: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qidao/sdk",
3
3
  "license": "MIT",
4
- "version": "5.3.7",
4
+ "version": "5.3.14",
5
5
  "description": "🛠 An SDK for building applications on top of QiDao Protocol.",
6
6
  "main": "./dist/index.js",
7
7
  "umd:main": "dist/index.umd.js",