@gearbox-protocol/sdk 0.0.48 → 0.0.49

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.
@@ -12,7 +12,7 @@ export declare const UNISWAP_V3_QUOTER = "0xb27308f9f90d607463bb33ea1bebb41c27ce
12
12
  export interface LidoParams {
13
13
  protocol: Protocols.Lido;
14
14
  type: AdapterInterface.LIDO_V1;
15
- contract: Record<NetworkType, string>;
15
+ curvePool: CurvePoolContract;
16
16
  }
17
17
  export declare type ContractParams = {
18
18
  protocol: Protocols.Uniswap | Protocols.Sushiswap;
@@ -183,9 +183,6 @@ exports.contractParams = {
183
183
  LIDO_STETH_GATEWAY: {
184
184
  protocol: protocols_1.Protocols.Lido,
185
185
  type: adapters_1.AdapterInterface.LIDO_V1,
186
- contract: {
187
- Mainnet: "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
188
- Kovan: ""
189
- }
186
+ curvePool: "CURVE_STETH_GATEWAY"
190
187
  }
191
188
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -126,7 +126,7 @@ export const UNISWAP_V3_QUOTER = "0xb27308f9f90d607463bb33ea1bebb41c27ce5ab6";
126
126
  export interface LidoParams {
127
127
  protocol: Protocols.Lido;
128
128
  type: AdapterInterface.LIDO_V1;
129
- contract: Record<NetworkType, string>;
129
+ curvePool: CurvePoolContract
130
130
  };
131
131
 
132
132
  export type ContractParams =
@@ -283,9 +283,6 @@ export const contractParams: Record<SupportedContract, ContractParams> = {
283
283
  LIDO_STETH_GATEWAY: {
284
284
  protocol: Protocols.Lido,
285
285
  type: AdapterInterface.LIDO_V1,
286
- contract: {
287
- Mainnet: "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
288
- Kovan: ""
289
- }
286
+ curvePool: "CURVE_STETH_GATEWAY"
290
287
  }
291
288
  };