@gearbox-protocol/sdk 1.24.3 → 1.25.0

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.
@@ -24,5 +24,6 @@ enum AdapterType {
24
24
  AAVE_V2_LENDING_POOL,
25
25
  AAVE_V2_WRAPPED_ATOKEN,
26
26
  COMPOUND_V2_CERC20,
27
- COMPOUND_V2_CETHER
27
+ COMPOUND_V2_CETHER,
28
+ ERC4626_VAULT
28
29
  }
@@ -19,5 +19,6 @@ enum PriceFeedType {
19
19
  BALANCER_WEIGHTED_LP_ORACLE,
20
20
  CURVE_CRYPTO_ORACLE,
21
21
  LIKE_CURVE_LP_TOKEN_ORACLE,
22
- REDSTONE_ORACLE
22
+ REDSTONE_ORACLE,
23
+ ERC4626_VAULT_ORACLE
23
24
  }
@@ -19,5 +19,6 @@ export declare enum AdapterInterface {
19
19
  AAVE_V2_LENDING_POOL = 17,
20
20
  AAVE_V2_WRAPPED_ATOKEN = 18,
21
21
  COMPOUND_V2_CERC20 = 19,
22
- COMPOUND_V2_CETHER = 20
22
+ COMPOUND_V2_CETHER = 20,
23
+ ERC4626_VAULT = 21
23
24
  }
@@ -24,4 +24,5 @@ var AdapterInterface;
24
24
  AdapterInterface[AdapterInterface["AAVE_V2_WRAPPED_ATOKEN"] = 18] = "AAVE_V2_WRAPPED_ATOKEN";
25
25
  AdapterInterface[AdapterInterface["COMPOUND_V2_CERC20"] = 19] = "COMPOUND_V2_CERC20";
26
26
  AdapterInterface[AdapterInterface["COMPOUND_V2_CETHER"] = 20] = "COMPOUND_V2_CETHER";
27
+ AdapterInterface[AdapterInterface["ERC4626_VAULT"] = 21] = "ERC4626_VAULT";
27
28
  })(AdapterInterface = exports.AdapterInterface || (exports.AdapterInterface = {}));
@@ -20,7 +20,8 @@ export declare enum OracleType {
20
20
  BALANCER_WEIGHTED_LP_ORACLE = 12,
21
21
  CURVE_CRYPTO_ORACLE = 13,
22
22
  LIKE_CURVE_LP_TOKEN_ORACLE = 14,
23
- REDSTONE_ORACLE = 15
23
+ REDSTONE_ORACLE = 15,
24
+ ERC4626_VAULT_ORACLE = 16
24
25
  }
25
26
  export type PriceFeedData = {
26
27
  type: OracleType.CHAINLINK_ORACLE;
@@ -19,4 +19,5 @@ var OracleType;
19
19
  OracleType[OracleType["CURVE_CRYPTO_ORACLE"] = 13] = "CURVE_CRYPTO_ORACLE";
20
20
  OracleType[OracleType["LIKE_CURVE_LP_TOKEN_ORACLE"] = 14] = "LIKE_CURVE_LP_TOKEN_ORACLE";
21
21
  OracleType[OracleType["REDSTONE_ORACLE"] = 15] = "REDSTONE_ORACLE";
22
+ OracleType[OracleType["ERC4626_VAULT_ORACLE"] = 16] = "ERC4626_VAULT_ORACLE";
22
23
  })(OracleType = exports.OracleType || (exports.OracleType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.24.3",
3
+ "version": "1.25.0",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",