@gearbox-protocol/sdk 0.0.51 → 0.0.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "0.0.51",
3
+ "version": "0.0.54",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -7,12 +7,8 @@
7
7
  import { AdapterInterface } from "./adapters";
8
8
  import { NetworkType } from "./constants";
9
9
  import { Protocols } from "./protocols";
10
- import {
11
- ConvexStakedPhantomToken,
12
- CurveLPToken,
13
- NormalToken,
14
- tokenDataByNetwork
15
- } from "./token";
10
+ import { CurveLPToken, NormalToken, ConvexStakedPhantomToken, tokenDataByNetwork } from "./token";
11
+
16
12
 
17
13
  export type UniswapV2Contract = "UNISWAP_V2_ROUTER" | "SUSHISWAP_ROUTER";
18
14
 
@@ -127,6 +123,7 @@ export interface CurveSteCRVPoolParams {
127
123
  protocol: Protocols.Curve;
128
124
  type: AdapterInterface.CURVE_V1_STECRV_POOL;
129
125
  pool: Record<NetworkType, string>;
126
+ lpToken: "steCRV";
130
127
  }
131
128
 
132
129
  export interface LidoParams {
@@ -198,7 +195,8 @@ export const contractParams: Record<SupportedContract, ContractParams> = {
198
195
  pool: {
199
196
  Mainnet: "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022",
200
197
  Kovan: "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a"
201
- }
198
+ },
199
+ lpToken: "steCRV"
202
200
  },
203
201
  CURVE_FRAX_POOL: {
204
202
  protocol: Protocols.Curve,
@@ -210,13 +208,13 @@ export const contractParams: Record<SupportedContract, ContractParams> = {
210
208
  protocol: Protocols.Curve,
211
209
  type: AdapterInterface.CURVE_V1_2ASSETS,
212
210
  lpToken: "LUSD3CRV",
213
- tokens: ["3Crv", "FRAX"]
211
+ tokens: ["3Crv", "LUSD"]
214
212
  },
215
213
  CURVE_SUSD_POOL: {
216
214
  protocol: Protocols.Curve,
217
- type: AdapterInterface.CURVE_V1_2ASSETS,
215
+ type: AdapterInterface.CURVE_V1_4ASSETS,
218
216
  lpToken: "crvPlain3andSUSD",
219
- tokens: ["3Crv", "FRAX"]
217
+ tokens: ["DAI", "USDC", "USDT", "sUSD"]
220
218
  },
221
219
  CURVE_GUSD_POOL: {
222
220
  protocol: Protocols.Curve,