@gearbox-protocol/sdk 1.20.24 → 1.20.25
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.
|
@@ -9,7 +9,7 @@ export type UniswapV2Contract = "UNISWAP_V2_ROUTER" | "SUSHISWAP_ROUTER";
|
|
|
9
9
|
export type CurvePoolContract = "CURVE_3CRV_POOL" | "CURVE_FRAX_USDC_POOL" | "CURVE_STETH_GATEWAY" | "CURVE_FRAX_POOL" | "CURVE_LUSD_POOL" | "CURVE_GUSD_POOL" | "CURVE_SUSD_POOL" | "CURVE_SUSD_DEPOSIT" | "CURVE_OHM_FRAXBP";
|
|
10
10
|
export type YearnVaultContract = "YEARN_DAI_VAULT" | "YEARN_USDC_VAULT" | "YEARN_WETH_VAULT" | "YEARN_WBTC_VAULT" | "YEARN_CURVE_FRAX_VAULT" | "YEARN_CURVE_STETH_VAULT";
|
|
11
11
|
export type ConvexPoolContract = "CONVEX_3CRV_POOL" | "CONVEX_FRAX_USDC_POOL" | "CONVEX_GUSD_POOL" | "CONVEX_SUSD_POOL" | "CONVEX_STECRV_POOL" | "CONVEX_FRAX3CRV_POOL" | "CONVEX_LUSD3CRV_POOL" | "CONVEX_OHMFRAXBP_POOL";
|
|
12
|
-
export type SupportedContract = UniswapV2Contract | "UNISWAP_V3_ROUTER" | CurvePoolContract | "CURVE_GEAR_POOL" | YearnVaultContract | "CONVEX_BOOSTER" | ConvexPoolContract | "CONVEX_CLAIM_ZAP" | "LIDO_STETH_GATEWAY" | "LIDO_WSTETH" | "BALANCER_VAULT";
|
|
12
|
+
export type SupportedContract = UniswapV2Contract | "UNISWAP_V3_ROUTER" | CurvePoolContract | "CURVE_GEAR_POOL" | YearnVaultContract | "CONVEX_BOOSTER" | ConvexPoolContract | "CONVEX_CLAIM_ZAP" | "LIDO_STETH_GATEWAY" | "LIDO_WSTETH" | "UNIVERSAL_ADAPTER" | "BALANCER_VAULT";
|
|
13
13
|
export declare const contractsByNetwork: Record<NetworkType, Record<SupportedContract, string>>;
|
|
14
14
|
export declare const UNISWAP_V3_QUOTER = "0xb27308f9f90d607463bb33ea1bebb41c27ce5ab6";
|
|
15
15
|
export interface BaseContractParams {
|
|
@@ -55,6 +55,8 @@ exports.contractsByNetwork = {
|
|
|
55
55
|
LIDO_WSTETH: token_1.tokenDataByNetwork.Mainnet.wstETH,
|
|
56
56
|
// BALANCER
|
|
57
57
|
BALANCER_VAULT: "0xba12222222228d8ba445958a75a0704d566bf2c8",
|
|
58
|
+
// GEARBOX
|
|
59
|
+
UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
|
58
60
|
},
|
|
59
61
|
//
|
|
60
62
|
//
|
|
@@ -103,6 +105,8 @@ exports.contractsByNetwork = {
|
|
|
103
105
|
LIDO_WSTETH: token_1.tokenDataByNetwork.Goerli.wstETH,
|
|
104
106
|
// BALANCER
|
|
105
107
|
BALANCER_VAULT: "deploy me",
|
|
108
|
+
// GEARBOX
|
|
109
|
+
UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
|
|
106
110
|
},
|
|
107
111
|
};
|
|
108
112
|
exports.UNISWAP_V3_QUOTER = "0xb27308f9f90d607463bb33ea1bebb41c27ce5ab6";
|
|
@@ -355,6 +359,11 @@ exports.contractParams = {
|
|
|
355
359
|
protocol: protocols_1.Protocols.Lido,
|
|
356
360
|
type: adapters_1.AdapterInterface.LIDO_WSTETH_V1,
|
|
357
361
|
},
|
|
362
|
+
UNIVERSAL_ADAPTER: {
|
|
363
|
+
name: "Gearbox universal adapter",
|
|
364
|
+
protocol: protocols_1.Protocols.Gearbox,
|
|
365
|
+
type: adapters_1.AdapterInterface.UNIVERSAL,
|
|
366
|
+
},
|
|
358
367
|
BALANCER_VAULT: {
|
|
359
368
|
name: "Balancer Vault",
|
|
360
369
|
protocol: protocols_1.Protocols.Balancer,
|