@gearbox-protocol/sdk 0.0.89 → 0.0.92

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.
@@ -28,7 +28,7 @@ exports.contractsByNetwork = {
28
28
  SUSHISWAP_ROUTER: "0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F",
29
29
  // CURVE
30
30
  CURVE_3CRV_POOL: "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7",
31
- CURVE_STETH_GATEWAY: "0xE91Af09e2F11eB7548a7C246C5f80e2D80da88C3",
31
+ CURVE_STETH_GATEWAY: "0xB949Ef5b39164537ee97BF17b968e465368C97AD",
32
32
  CURVE_FRAX_POOL: token_1.tokenDataByNetwork.Mainnet.FRAX3CRV,
33
33
  CURVE_LUSD_POOL: token_1.tokenDataByNetwork.Mainnet.LUSD3CRV,
34
34
  CURVE_SUSD_POOL: "0xA5407eAE9Ba41422680e2e00537571bcC53efBfD",
@@ -119,7 +119,7 @@ exports.contractParams = {
119
119
  type: adapters_1.AdapterInterface.CURVE_V1_STECRV_POOL,
120
120
  pool: {
121
121
  Mainnet: "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022",
122
- Kovan: "0x6db94f454d7e2d2e25e4b2a8231e00925bd08a98"
122
+ Kovan: "0xF5C73b58B70709e89aA1D322d48b0D0C71123cB4"
123
123
  },
124
124
  lpToken: "steCRV"
125
125
  },
@@ -36,6 +36,13 @@ export declare type CurveSteCRVPoolParams = {
36
36
  pool: Record<NetworkType, string>;
37
37
  lpToken: "steCRV";
38
38
  } & BaseContractParams;
39
+ export declare type CurveDepositParams = {
40
+ protocol: Protocols.Curve;
41
+ type: AdapterInterface.CURVE_V1_DEPOSIT;
42
+ pool: Record<NetworkType, string>;
43
+ lpToken: CurveLPToken;
44
+ nCoins: number;
45
+ } & BaseContractParams;
39
46
  declare type YearnParams = {
40
47
  protocol: Protocols.Yearn;
41
48
  type: AdapterInterface.YEARN_V2;
@@ -54,7 +61,7 @@ export declare type LidoParams = {
54
61
  type: AdapterInterface.LIDO_V1;
55
62
  lpToken: "steCRV";
56
63
  } & BaseContractParams;
57
- export declare type ContractParams = UniswapV2Params | UniswapV3Params | CurveParams | CurveSteCRVPoolParams | YearnParams | ConvexParams | ConvexPoolParams | LidoParams;
64
+ export declare type ContractParams = UniswapV2Params | UniswapV3Params | CurveParams | CurveSteCRVPoolParams | CurveDepositParams | YearnParams | ConvexParams | ConvexPoolParams | LidoParams;
58
65
  export declare const contractParams: Record<SupportedContract, ContractParams>;
59
66
  export declare const contractsByAddress: Record<string, SupportedContract>;
60
67
  export {};
@@ -32,6 +32,7 @@ exports.contractsByNetwork = {
32
32
  CURVE_FRAX_POOL: token_1.tokenDataByNetwork.Mainnet.FRAX3CRV,
33
33
  CURVE_LUSD_POOL: token_1.tokenDataByNetwork.Mainnet.LUSD3CRV,
34
34
  CURVE_SUSD_POOL: "0xA5407eAE9Ba41422680e2e00537571bcC53efBfD",
35
+ CURVE_SUSD_DEPOSIT: "0xFCBa3E75865d2d561BE8D220616520c171F12851",
35
36
  CURVE_GUSD_POOL: "0x4f062658EaAF2C1ccf8C8e36D6824CDf41167956",
36
37
  // YEARN
37
38
  YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Mainnet.yvDAI,
@@ -148,12 +149,23 @@ exports.contractParams = {
148
149
  tokens: ["DAI", "USDC", "USDT", "sUSD"],
149
150
  wrapper: "CURVE_SUSD_DEPOSIT"
150
151
  },
152
+ CURVE_SUSD_DEPOSIT: {
153
+ name: "Curve SUSD Deposit",
154
+ protocol: protocols_1.Protocols.Curve,
155
+ type: adapters_1.AdapterInterface.CURVE_V1_DEPOSIT,
156
+ lpToken: "crvPlain3andSUSD",
157
+ pool: {
158
+ Mainnet: "0x22eE18aca7F3Ee920D01F25dA85840D12d98E8Ca",
159
+ Kovan: ""
160
+ },
161
+ nCoins: 4
162
+ },
151
163
  CURVE_GUSD_POOL: {
152
164
  name: "Curve GUSD",
153
165
  protocol: protocols_1.Protocols.Curve,
154
166
  type: adapters_1.AdapterInterface.CURVE_V1_2ASSETS,
155
167
  lpToken: "gusd3CRV",
156
- tokens: ["3Crv", "FRAX"]
168
+ tokens: ["3Crv", "GUSD"]
157
169
  },
158
170
  YEARN_DAI_VAULT: {
159
171
  name: "Yearn DAI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "0.0.89",
3
+ "version": "0.0.92",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,7 +59,7 @@ export const contractsByNetwork: Record<
59
59
 
60
60
  // CURVE
61
61
  CURVE_3CRV_POOL: "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7", // SEPARATE TOKEN
62
- CURVE_STETH_GATEWAY: "0xE91Af09e2F11eB7548a7C246C5f80e2D80da88C3", // SEPARATE TOKEN
62
+ CURVE_STETH_GATEWAY: "0xB949Ef5b39164537ee97BF17b968e465368C97AD", // SEPARATE TOKEN
63
63
  CURVE_FRAX_POOL: tokenDataByNetwork.Mainnet.FRAX3CRV,
64
64
  CURVE_LUSD_POOL: tokenDataByNetwork.Mainnet.LUSD3CRV,
65
65
  CURVE_SUSD_POOL: "0xA5407eAE9Ba41422680e2e00537571bcC53efBfD", // SEPARATE TOKEN
@@ -231,7 +231,7 @@ export const contractParams: Record<SupportedContract, ContractParams> = {
231
231
  type: AdapterInterface.CURVE_V1_STECRV_POOL,
232
232
  pool: {
233
233
  Mainnet: "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022",
234
- Kovan: "0x6db94f454d7e2d2e25e4b2a8231e00925bd08a98"
234
+ Kovan: "0xF5C73b58B70709e89aA1D322d48b0D0C71123cB4"
235
235
  },
236
236
  lpToken: "steCRV"
237
237
  },