@gearbox-protocol/sdk 1.8.6 → 1.8.8

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.
@@ -14,5 +14,5 @@ export declare enum AdapterInterface {
14
14
  CONVEX_V1_CLAIM_ZAP = 12,
15
15
  LIDO_V1 = 13,
16
16
  UNIVERSAL = 14,
17
- LIDO_WSTETH = 15
17
+ LIDO_WSTETH_V1 = 15
18
18
  }
@@ -18,5 +18,5 @@ var AdapterInterface;
18
18
  AdapterInterface[AdapterInterface["CONVEX_V1_CLAIM_ZAP"] = 12] = "CONVEX_V1_CLAIM_ZAP";
19
19
  AdapterInterface[AdapterInterface["LIDO_V1"] = 13] = "LIDO_V1";
20
20
  AdapterInterface[AdapterInterface["UNIVERSAL"] = 14] = "UNIVERSAL";
21
- AdapterInterface[AdapterInterface["LIDO_WSTETH"] = 15] = "LIDO_WSTETH";
21
+ AdapterInterface[AdapterInterface["LIDO_WSTETH_V1"] = 15] = "LIDO_WSTETH_V1";
22
22
  })(AdapterInterface = exports.AdapterInterface || (exports.AdapterInterface = {}));
@@ -66,7 +66,7 @@ export declare type LidoParams = {
66
66
  } & BaseContractParams;
67
67
  export declare type LidoWsthETHParams = {
68
68
  protocol: Protocols.Lido;
69
- type: AdapterInterface.LIDO_WSTETH;
69
+ type: AdapterInterface.LIDO_WSTETH_V1;
70
70
  } & BaseContractParams;
71
71
  export declare type UniversalParams = {
72
72
  protocol: Protocols.Gearbox;
@@ -303,7 +303,7 @@ exports.contractParams = {
303
303
  LIDO_WSTETH: {
304
304
  name: "Lido wstETH",
305
305
  protocol: protocols_1.Protocols.Lido,
306
- type: adapters_1.AdapterInterface.LIDO_WSTETH,
306
+ type: adapters_1.AdapterInterface.LIDO_WSTETH_V1,
307
307
  },
308
308
  UNIVERSAL_ADAPTER: {
309
309
  name: "Gearbox universal adapter",
@@ -1,2 +1,4 @@
1
+ import { NetworkType } from "../core/constants";
2
+ export declare const stEthPoolWrapper: Record<NetworkType, string>;
1
3
  export declare const deployedContracts: Record<string, string>;
2
4
  export declare function getContractName(address: string): string;
@@ -11,10 +11,14 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.getContractName = exports.deployedContracts = void 0;
14
+ exports.getContractName = exports.deployedContracts = exports.stEthPoolWrapper = void 0;
15
15
  var formatter_1 = require("../utils/formatter");
16
16
  var mappers_1 = require("../utils/mappers");
17
17
  var contracts_1 = require("./contracts");
18
+ exports.stEthPoolWrapper = {
19
+ Mainnet: "Deploy me",
20
+ Goerli: "0x7D625991f71d473E3EA1DC819Ce583cD36D00C88",
21
+ };
18
22
  exports.deployedContracts = {
19
23
  // MAINNET
20
24
  "0x24946bCbBd028D5ABb62ad9B635EB1b1a67AF668": "DAI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.8.6",
3
+ "version": "1.8.8",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",