@gearbox-protocol/deploy-tools 4.15.4 → 4.15.5
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/dist/index.mjs +221 -74
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -7235,7 +7235,8 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7235
7235
|
{ token0: "USDC", token1: "USDT", fee: 500 },
|
|
7236
7236
|
{ token0: "DAI", token1: "WETH", fee: 500 },
|
|
7237
7237
|
{ token0: "WBTC", token1: "USDT", fee: 3e3 },
|
|
7238
|
-
{ token0: "USDC", token1: "WETH", fee: 1e4 }
|
|
7238
|
+
{ token0: "USDC", token1: "WETH", fee: 1e4 },
|
|
7239
|
+
{ token0: "USDe", token1: "USDT", fee: 100 }
|
|
7239
7240
|
]
|
|
7240
7241
|
};
|
|
7241
7242
|
var tier1SushiswapConfig = {
|
|
@@ -7247,6 +7248,15 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7247
7248
|
{ token0: "DAI", token1: "WETH" }
|
|
7248
7249
|
]
|
|
7249
7250
|
};
|
|
7251
|
+
var tier1BalancerConfig = {
|
|
7252
|
+
contract: "BALANCER_VAULT",
|
|
7253
|
+
allowed: [
|
|
7254
|
+
{
|
|
7255
|
+
pool: "ezETH_WETH_BPT",
|
|
7256
|
+
status: 2
|
|
7257
|
+
}
|
|
7258
|
+
]
|
|
7259
|
+
};
|
|
7250
7260
|
var tier1CreditManager = {
|
|
7251
7261
|
name: "Trade USDC Tier 1",
|
|
7252
7262
|
degenNft: false,
|
|
@@ -7268,10 +7278,6 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7268
7278
|
token: "WBTC",
|
|
7269
7279
|
lt: 9e3
|
|
7270
7280
|
},
|
|
7271
|
-
{
|
|
7272
|
-
token: "STETH",
|
|
7273
|
-
lt: 9e3
|
|
7274
|
-
},
|
|
7275
7281
|
{
|
|
7276
7282
|
token: "DAI",
|
|
7277
7283
|
lt: 9e3
|
|
@@ -7288,6 +7294,15 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7288
7294
|
token: "crvUSD",
|
|
7289
7295
|
lt: 9e3
|
|
7290
7296
|
},
|
|
7297
|
+
// BOOSTED
|
|
7298
|
+
{
|
|
7299
|
+
token: "STETH",
|
|
7300
|
+
lt: 9e3
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
token: "ezETH",
|
|
7304
|
+
lt: 9e3
|
|
7305
|
+
},
|
|
7291
7306
|
{
|
|
7292
7307
|
token: "yvWETH",
|
|
7293
7308
|
lt: 8700
|
|
@@ -7301,6 +7316,10 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7301
7316
|
token: "USDe",
|
|
7302
7317
|
lt: 9e3
|
|
7303
7318
|
},
|
|
7319
|
+
{
|
|
7320
|
+
token: "sUSDe",
|
|
7321
|
+
lt: 9e3
|
|
7322
|
+
},
|
|
7304
7323
|
// FARMS
|
|
7305
7324
|
{
|
|
7306
7325
|
token: "yvUSDC",
|
|
@@ -7322,16 +7341,21 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7322
7341
|
{ token: "FRAXUSDe", lt: 0 },
|
|
7323
7342
|
{ token: "USDecrvUSD", lt: 0 },
|
|
7324
7343
|
{ token: "crvFRAX", lt: 0 },
|
|
7325
|
-
{ token: "crvUSDUSDC", lt: 0 }
|
|
7344
|
+
{ token: "crvUSDUSDC", lt: 0 },
|
|
7345
|
+
{ token: "USDeDAI", lt: 0 },
|
|
7346
|
+
{ token: "MtEthena", lt: 0 }
|
|
7326
7347
|
],
|
|
7327
7348
|
adapters: [
|
|
7328
7349
|
tier1UniV2Config,
|
|
7329
7350
|
tier1UniV3Config,
|
|
7330
7351
|
tier1SushiswapConfig,
|
|
7352
|
+
tier1BalancerConfig,
|
|
7331
7353
|
{ contract: "CURVE_3CRV_POOL" },
|
|
7332
7354
|
{ contract: "CURVE_3CRYPTO_POOL" },
|
|
7333
7355
|
{ contract: "CURVE_STETH_GATEWAY" },
|
|
7334
7356
|
{ contract: "CURVE_USDE_USDC_POOL" },
|
|
7357
|
+
{ contract: "CURVE_USDE_DAI_POOL" },
|
|
7358
|
+
{ contract: "CURVE_SDAI_SUSDE_POOL" },
|
|
7335
7359
|
{ contract: "CURVE_FRAX_USDE_POOL" },
|
|
7336
7360
|
{ contract: "CURVE_USDE_CRVUSD_POOL" },
|
|
7337
7361
|
{ contract: "CURVE_FRAX_USDC_POOL" },
|
|
@@ -7340,7 +7364,8 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7340
7364
|
{ contract: "YEARN_WBTC_VAULT" },
|
|
7341
7365
|
{ contract: "YEARN_USDC_VAULT" },
|
|
7342
7366
|
{ contract: "YEARN_DAI_VAULT" },
|
|
7343
|
-
{ contract: "MAKER_DSR_VAULT" }
|
|
7367
|
+
{ contract: "MAKER_DSR_VAULT" },
|
|
7368
|
+
{ contract: "STAKED_USDE_VAULT" }
|
|
7344
7369
|
]
|
|
7345
7370
|
};
|
|
7346
7371
|
var tier2UniV2Config = {
|
|
@@ -7677,12 +7702,6 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7677
7702
|
quotaIncreaseFee: 1,
|
|
7678
7703
|
limit: BigInt(3e7) * POOL_DECIMALS / POOL_DIVIDER
|
|
7679
7704
|
},
|
|
7680
|
-
STETH: {
|
|
7681
|
-
minRate: 4,
|
|
7682
|
-
maxRate: 1200,
|
|
7683
|
-
quotaIncreaseFee: 1,
|
|
7684
|
-
limit: BigInt(3e7) * POOL_DECIMALS / POOL_DIVIDER
|
|
7685
|
-
},
|
|
7686
7705
|
DAI: {
|
|
7687
7706
|
minRate: 4,
|
|
7688
7707
|
maxRate: 1200,
|
|
@@ -7755,18 +7774,6 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7755
7774
|
quotaIncreaseFee: 1,
|
|
7756
7775
|
limit: BigInt(5e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
7757
7776
|
},
|
|
7758
|
-
yvWETH: {
|
|
7759
|
-
minRate: 1,
|
|
7760
|
-
maxRate: 1500,
|
|
7761
|
-
quotaIncreaseFee: 1,
|
|
7762
|
-
limit: BigInt(3e7) * POOL_DECIMALS / POOL_DIVIDER
|
|
7763
|
-
},
|
|
7764
|
-
yvWBTC: {
|
|
7765
|
-
minRate: 1,
|
|
7766
|
-
maxRate: 1500,
|
|
7767
|
-
quotaIncreaseFee: 1,
|
|
7768
|
-
limit: BigInt(1e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
7769
|
-
},
|
|
7770
7777
|
// FARMS
|
|
7771
7778
|
sDAI: {
|
|
7772
7779
|
minRate: 5,
|
|
@@ -7810,12 +7817,43 @@ var require_usdcConfigMainnet = __commonJS({
|
|
|
7810
7817
|
quotaIncreaseFee: 0,
|
|
7811
7818
|
limit: BigInt(204e5) * POOL_DECIMALS / POOL_DIVIDER
|
|
7812
7819
|
},
|
|
7820
|
+
// BOOSTED
|
|
7821
|
+
yvWETH: {
|
|
7822
|
+
minRate: 1,
|
|
7823
|
+
maxRate: 1500,
|
|
7824
|
+
quotaIncreaseFee: 1,
|
|
7825
|
+
limit: BigInt(3e7) * POOL_DECIMALS / POOL_DIVIDER
|
|
7826
|
+
},
|
|
7827
|
+
yvWBTC: {
|
|
7828
|
+
minRate: 1,
|
|
7829
|
+
maxRate: 1500,
|
|
7830
|
+
quotaIncreaseFee: 1,
|
|
7831
|
+
limit: BigInt(1e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
7832
|
+
},
|
|
7833
|
+
STETH: {
|
|
7834
|
+
minRate: 4,
|
|
7835
|
+
maxRate: 1200,
|
|
7836
|
+
quotaIncreaseFee: 1,
|
|
7837
|
+
limit: BigInt(3e7) * POOL_DECIMALS / POOL_DIVIDER
|
|
7838
|
+
},
|
|
7839
|
+
ezETH: {
|
|
7840
|
+
minRate: 5,
|
|
7841
|
+
maxRate: 3e3,
|
|
7842
|
+
quotaIncreaseFee: 0,
|
|
7843
|
+
limit: BigInt(3e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
7844
|
+
},
|
|
7813
7845
|
// POINTS FARMING
|
|
7814
7846
|
USDe: {
|
|
7815
7847
|
minRate: 5,
|
|
7816
7848
|
maxRate: 3e3,
|
|
7817
7849
|
quotaIncreaseFee: 0,
|
|
7818
|
-
limit: BigInt(
|
|
7850
|
+
limit: BigInt(3e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
7851
|
+
},
|
|
7852
|
+
sUSDe: {
|
|
7853
|
+
minRate: 5,
|
|
7854
|
+
maxRate: 3e3,
|
|
7855
|
+
quotaIncreaseFee: 0,
|
|
7856
|
+
limit: BigInt(3e6) * POOL_DECIMALS / POOL_DIVIDER
|
|
7819
7857
|
}
|
|
7820
7858
|
},
|
|
7821
7859
|
creditManagers: [
|
|
@@ -9883,6 +9921,51 @@ var require_wethConfigOptimism = __commonJS({
|
|
|
9883
9921
|
}
|
|
9884
9922
|
});
|
|
9885
9923
|
|
|
9924
|
+
// ../../node_modules/@gearbox-protocol/sdk-gov/lib/config/configs/index.js
|
|
9925
|
+
var require_configs = __commonJS({
|
|
9926
|
+
"../../node_modules/@gearbox-protocol/sdk-gov/lib/config/configs/index.js"(exports2) {
|
|
9927
|
+
"use strict";
|
|
9928
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9929
|
+
exports2.wethConfigOptimism = exports2.wethConfigMainnet = exports2.wethConfigArbitrum = exports2.wbtcConfigMainnet = exports2.usdcConfigOptimism = exports2.usdcConfigMainnet = exports2.usdcConfigArbitrum = exports2.testWethConfigArbitrum = exports2.testUsdcConfigMainnet = void 0;
|
|
9930
|
+
var test_usdcConfigMainnet_1 = require_test_usdcConfigMainnet();
|
|
9931
|
+
Object.defineProperty(exports2, "testUsdcConfigMainnet", { enumerable: true, get: function() {
|
|
9932
|
+
return test_usdcConfigMainnet_1.testUsdcConfigMainnet;
|
|
9933
|
+
} });
|
|
9934
|
+
var test_wethConfigArbitrum_1 = require_test_wethConfigArbitrum();
|
|
9935
|
+
Object.defineProperty(exports2, "testWethConfigArbitrum", { enumerable: true, get: function() {
|
|
9936
|
+
return test_wethConfigArbitrum_1.testWethConfigArbitrum;
|
|
9937
|
+
} });
|
|
9938
|
+
var usdcConfigArbitrum_1 = require_usdcConfigArbitrum();
|
|
9939
|
+
Object.defineProperty(exports2, "usdcConfigArbitrum", { enumerable: true, get: function() {
|
|
9940
|
+
return usdcConfigArbitrum_1.usdcConfigArbitrum;
|
|
9941
|
+
} });
|
|
9942
|
+
var usdcConfigMainnet_1 = require_usdcConfigMainnet();
|
|
9943
|
+
Object.defineProperty(exports2, "usdcConfigMainnet", { enumerable: true, get: function() {
|
|
9944
|
+
return usdcConfigMainnet_1.usdcConfigMainnet;
|
|
9945
|
+
} });
|
|
9946
|
+
var usdcConfigOptimism_1 = require_usdcConfigOptimism();
|
|
9947
|
+
Object.defineProperty(exports2, "usdcConfigOptimism", { enumerable: true, get: function() {
|
|
9948
|
+
return usdcConfigOptimism_1.usdcConfigOptimism;
|
|
9949
|
+
} });
|
|
9950
|
+
var wbtcConfigMainnet_1 = require_wbtcConfigMainnet();
|
|
9951
|
+
Object.defineProperty(exports2, "wbtcConfigMainnet", { enumerable: true, get: function() {
|
|
9952
|
+
return wbtcConfigMainnet_1.wbtcConfigMainnet;
|
|
9953
|
+
} });
|
|
9954
|
+
var wethConfigArbitrum_1 = require_wethConfigArbitrum();
|
|
9955
|
+
Object.defineProperty(exports2, "wethConfigArbitrum", { enumerable: true, get: function() {
|
|
9956
|
+
return wethConfigArbitrum_1.wethConfigArbitrum;
|
|
9957
|
+
} });
|
|
9958
|
+
var wethConfigMainnet_1 = require_wethConfigMainnet();
|
|
9959
|
+
Object.defineProperty(exports2, "wethConfigMainnet", { enumerable: true, get: function() {
|
|
9960
|
+
return wethConfigMainnet_1.wethConfigMainnet;
|
|
9961
|
+
} });
|
|
9962
|
+
var wethConfigOptimism_1 = require_wethConfigOptimism();
|
|
9963
|
+
Object.defineProperty(exports2, "wethConfigOptimism", { enumerable: true, get: function() {
|
|
9964
|
+
return wethConfigOptimism_1.wethConfigOptimism;
|
|
9965
|
+
} });
|
|
9966
|
+
}
|
|
9967
|
+
});
|
|
9968
|
+
|
|
9886
9969
|
// ../../node_modules/@gearbox-protocol/sdk-gov/lib/config/convert.js
|
|
9887
9970
|
var require_convert = __commonJS({
|
|
9888
9971
|
"../../node_modules/@gearbox-protocol/sdk-gov/lib/config/convert.js"(exports2) {
|
|
@@ -10031,6 +10114,8 @@ var require_decimals = __commonJS({
|
|
|
10031
10114
|
USDeUSDC: 18,
|
|
10032
10115
|
FRAXUSDe: 18,
|
|
10033
10116
|
USDecrvUSD: 18,
|
|
10117
|
+
USDeDAI: 18,
|
|
10118
|
+
MtEthena: 18,
|
|
10034
10119
|
wstETHCRV: 18,
|
|
10035
10120
|
crvUSD: 18,
|
|
10036
10121
|
crvUSDUSDC: 18,
|
|
@@ -108968,6 +109053,20 @@ var require_curveLP = __commonJS({
|
|
|
108968
109053
|
pool: "CURVE_USDE_CRVUSD_POOL",
|
|
108969
109054
|
tokenOut: ["USDe", "crvUSD"]
|
|
108970
109055
|
},
|
|
109056
|
+
USDeDAI: {
|
|
109057
|
+
name: "Curve USDe-DAI pool",
|
|
109058
|
+
symbol: "USDeDAI",
|
|
109059
|
+
type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
|
|
109060
|
+
pool: "CURVE_USDE_DAI_POOL",
|
|
109061
|
+
tokenOut: ["USDe", "crvUSD"]
|
|
109062
|
+
},
|
|
109063
|
+
MtEthena: {
|
|
109064
|
+
name: "Curve sDAI-sUSDe Pool",
|
|
109065
|
+
symbol: "MtEthena",
|
|
109066
|
+
type: { AllNetworks: tokenType_1.TokenType.CURVE_LP_TOKEN },
|
|
109067
|
+
pool: "CURVE_SDAI_SUSDE_POOL",
|
|
109068
|
+
tokenOut: ["sDAI", "sUSDe"]
|
|
109069
|
+
},
|
|
108971
109070
|
wstETHCRV: {
|
|
108972
109071
|
name: "Curve wstETHCRV",
|
|
108973
109072
|
symbol: "wstETHCRV",
|
|
@@ -109640,6 +109739,7 @@ var require_token = __commonJS({
|
|
|
109640
109739
|
USDeUSDC: "0x02950460E2b9529D0E00284A5fA2d7bDF3fA4d72",
|
|
109641
109740
|
FRAXUSDe: "0x5dc1BF6f1e983C0b21EfB003c105133736fA0743",
|
|
109642
109741
|
USDecrvUSD: "0xF55B0f6F2Da5ffDDb104b58a60F2862745960442",
|
|
109742
|
+
USDeDAI: "0xF36a4BA50C603204c3FC6d2dA8b78A7b69CBC67d",
|
|
109643
109743
|
OHMFRAXBP: "0x5271045F7B73c17825A7A7aee6917eE46b0B7520",
|
|
109644
109744
|
MIM_3LP3CRV: "0x5a6A4D54456819380173272A5E8E9B9904BdF41B",
|
|
109645
109745
|
crvCRVETH: "0xEd4064f376cB8d68F770FB1Ff088a3d0F3FF5c4d",
|
|
@@ -109652,6 +109752,7 @@ var require_token = __commonJS({
|
|
|
109652
109752
|
crvUSDFRAX: "0x0CD6f267b2086bea681E922E19D40512511BE538",
|
|
109653
109753
|
crvUSDETHCRV: "0x4eBdF703948ddCEA3B11f675B4D1Fba9d2414A14",
|
|
109654
109754
|
rETH_f: "0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C",
|
|
109755
|
+
MtEthena: "0x167478921b907422F8E88B43C4Af2B8BEa278d3A",
|
|
109655
109756
|
wstETHCRV: constants_1.NOT_DEPLOYED,
|
|
109656
109757
|
"2CRV": constants_1.NOT_DEPLOYED,
|
|
109657
109758
|
"3c-crvUSD": constants_1.NOT_DEPLOYED,
|
|
@@ -109868,6 +109969,8 @@ var require_token = __commonJS({
|
|
|
109868
109969
|
crvCVXETH: constants_1.NOT_DEPLOYED,
|
|
109869
109970
|
crvUSDTWBTCWETH: constants_1.NOT_DEPLOYED,
|
|
109870
109971
|
LDOETH: constants_1.NOT_DEPLOYED,
|
|
109972
|
+
USDeDAI: constants_1.NOT_DEPLOYED,
|
|
109973
|
+
MtEthena: constants_1.NOT_DEPLOYED,
|
|
109871
109974
|
crvUSDUSDC: constants_1.NOT_DEPLOYED,
|
|
109872
109975
|
crvUSDUSDT: constants_1.NOT_DEPLOYED,
|
|
109873
109976
|
crvUSDFRAX: "0x2FE7AE43591E534C256A1594D326e5779E302Ff4",
|
|
@@ -109961,12 +110064,12 @@ var require_token = __commonJS({
|
|
|
109961
110064
|
dWETH: constants_1.NOT_DEPLOYED,
|
|
109962
110065
|
dwstETH: constants_1.NOT_DEPLOYED,
|
|
109963
110066
|
dFRAX: constants_1.NOT_DEPLOYED,
|
|
109964
|
-
dUSDCV3:
|
|
110067
|
+
dUSDCV3: "0xa76c604145d7394dec36c49af494c144ff327861",
|
|
109965
110068
|
dWBTCV3: constants_1.NOT_DEPLOYED,
|
|
109966
|
-
dWETHV3:
|
|
109967
|
-
sdUSDCV3:
|
|
110069
|
+
dWETHV3: "0x04419d3509f13054f60d253e0c79491d9e683399",
|
|
110070
|
+
sdUSDCV3: "0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75",
|
|
109968
110071
|
sdWBTCV3: constants_1.NOT_DEPLOYED,
|
|
109969
|
-
sdWETHV3:
|
|
110072
|
+
sdWETHV3: "0x6773fF780Dd38175247795545Ee37adD6ab6139a",
|
|
109970
110073
|
GEAR: "0x2F26337576127efabEEc1f62BE79dB1bcA9148A4",
|
|
109971
110074
|
// AAVE
|
|
109972
110075
|
aUSDC: "0x724dc807b04555b71ed48a6896b6F41593b8C637",
|
|
@@ -110075,6 +110178,8 @@ var require_token = __commonJS({
|
|
|
110075
110178
|
crvCVXETH: constants_1.NOT_DEPLOYED,
|
|
110076
110179
|
crvUSDTWBTCWETH: constants_1.NOT_DEPLOYED,
|
|
110077
110180
|
LDOETH: constants_1.NOT_DEPLOYED,
|
|
110181
|
+
USDeDAI: constants_1.NOT_DEPLOYED,
|
|
110182
|
+
MtEthena: constants_1.NOT_DEPLOYED,
|
|
110078
110183
|
crvUSDUSDC: constants_1.NOT_DEPLOYED,
|
|
110079
110184
|
crvUSDUSDT: constants_1.NOT_DEPLOYED,
|
|
110080
110185
|
crvUSDFRAX: constants_1.NOT_DEPLOYED,
|
|
@@ -110329,6 +110434,8 @@ var require_contracts = __commonJS({
|
|
|
110329
110434
|
CURVE_USDE_USDC_POOL: token_1.tokenDataByNetwork.Mainnet.USDeUSDC,
|
|
110330
110435
|
CURVE_FRAX_USDE_POOL: token_1.tokenDataByNetwork.Mainnet.FRAXUSDe,
|
|
110331
110436
|
CURVE_USDE_CRVUSD_POOL: token_1.tokenDataByNetwork.Mainnet.USDecrvUSD,
|
|
110437
|
+
CURVE_USDE_DAI_POOL: token_1.tokenDataByNetwork.Mainnet.USDeDAI,
|
|
110438
|
+
CURVE_SDAI_SUSDE_POOL: token_1.tokenDataByNetwork.Mainnet.MtEthena,
|
|
110332
110439
|
CURVE_GEAR_POOL: "0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2",
|
|
110333
110440
|
CURVE_CRVUSD_USDC_POOL: token_1.tokenDataByNetwork.Mainnet.crvUSDUSDC,
|
|
110334
110441
|
CURVE_CRVUSD_USDT_POOL: token_1.tokenDataByNetwork.Mainnet.crvUSDUSDT,
|
|
@@ -110438,6 +110545,8 @@ var require_contracts = __commonJS({
|
|
|
110438
110545
|
CURVE_USDE_USDC_POOL: token_1.tokenDataByNetwork.Arbitrum.USDeUSDC,
|
|
110439
110546
|
CURVE_FRAX_USDE_POOL: token_1.tokenDataByNetwork.Arbitrum.FRAXUSDe,
|
|
110440
110547
|
CURVE_USDE_CRVUSD_POOL: token_1.tokenDataByNetwork.Arbitrum.USDecrvUSD,
|
|
110548
|
+
CURVE_USDE_DAI_POOL: token_1.tokenDataByNetwork.Arbitrum.USDeDAI,
|
|
110549
|
+
CURVE_SDAI_SUSDE_POOL: token_1.tokenDataByNetwork.Arbitrum.MtEthena,
|
|
110441
110550
|
CURVE_ETH_WSTETH_GATEWAY_OP: constants_1.NOT_DEPLOYED,
|
|
110442
110551
|
CURVE_GEAR_POOL: constants_1.NOT_DEPLOYED,
|
|
110443
110552
|
CURVE_CRVUSD_USDC_POOL: token_1.tokenDataByNetwork.Arbitrum.crvUSDUSDC,
|
|
@@ -110548,6 +110657,8 @@ var require_contracts = __commonJS({
|
|
|
110548
110657
|
CURVE_USDE_USDC_POOL: token_1.tokenDataByNetwork.Optimism.USDeUSDC,
|
|
110549
110658
|
CURVE_FRAX_USDE_POOL: token_1.tokenDataByNetwork.Optimism.FRAXUSDe,
|
|
110550
110659
|
CURVE_USDE_CRVUSD_POOL: token_1.tokenDataByNetwork.Optimism.USDecrvUSD,
|
|
110660
|
+
CURVE_USDE_DAI_POOL: token_1.tokenDataByNetwork.Optimism.USDeDAI,
|
|
110661
|
+
CURVE_SDAI_SUSDE_POOL: token_1.tokenDataByNetwork.Optimism.MtEthena,
|
|
110551
110662
|
CURVE_ETH_WSTETH_GATEWAY_OP: constants_1.NOT_DEPLOYED,
|
|
110552
110663
|
CURVE_GEAR_POOL: constants_1.NOT_DEPLOYED,
|
|
110553
110664
|
CURVE_CRVUSD_USDC_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDUSDC,
|
|
@@ -110872,6 +110983,22 @@ var require_contracts = __commonJS({
|
|
|
110872
110983
|
lpToken: "USDecrvUSD",
|
|
110873
110984
|
tokens: ["USDe", "crvUSD"]
|
|
110874
110985
|
},
|
|
110986
|
+
CURVE_USDE_DAI_POOL: {
|
|
110987
|
+
name: "Curve USDeDAI",
|
|
110988
|
+
protocol: protocols_1.Protocols.Curve,
|
|
110989
|
+
version: 20,
|
|
110990
|
+
type: adapters_1.AdapterInterface.CURVE_V1_2ASSETS,
|
|
110991
|
+
lpToken: "USDeDAI",
|
|
110992
|
+
tokens: ["USDe", "DAI"]
|
|
110993
|
+
},
|
|
110994
|
+
CURVE_SDAI_SUSDE_POOL: {
|
|
110995
|
+
name: "Curve MtEthena",
|
|
110996
|
+
protocol: protocols_1.Protocols.Curve,
|
|
110997
|
+
version: 20,
|
|
110998
|
+
type: adapters_1.AdapterInterface.CURVE_V1_2ASSETS,
|
|
110999
|
+
lpToken: "MtEthena",
|
|
111000
|
+
tokens: ["sDAI", "sUSDe"]
|
|
111001
|
+
},
|
|
110875
111002
|
CURVE_2CRV_POOL_ARB: {
|
|
110876
111003
|
name: "Curve USDC/USDT Pool (Arbitrum)",
|
|
110877
111004
|
protocol: protocols_1.Protocols.Curve,
|
|
@@ -113270,6 +113397,10 @@ var require_priceFeeds = __commonJS({
|
|
|
113270
113397
|
baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
113271
113398
|
baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
|
|
113272
113399
|
trusted: false
|
|
113400
|
+
},
|
|
113401
|
+
Reserve: {
|
|
113402
|
+
type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
|
|
113403
|
+
token: "WETH"
|
|
113273
113404
|
}
|
|
113274
113405
|
}
|
|
113275
113406
|
},
|
|
@@ -113282,6 +113413,10 @@ var require_priceFeeds = __commonJS({
|
|
|
113282
113413
|
baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
113283
113414
|
baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
|
|
113284
113415
|
trusted: false
|
|
113416
|
+
},
|
|
113417
|
+
Reserve: {
|
|
113418
|
+
type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
|
|
113419
|
+
token: "WETH"
|
|
113285
113420
|
}
|
|
113286
113421
|
}
|
|
113287
113422
|
},
|
|
@@ -113294,6 +113429,10 @@ var require_priceFeeds = __commonJS({
|
|
|
113294
113429
|
baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
|
|
113295
113430
|
baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
|
|
113296
113431
|
trusted: false
|
|
113432
|
+
},
|
|
113433
|
+
Reserve: {
|
|
113434
|
+
type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
|
|
113435
|
+
token: "WETH"
|
|
113297
113436
|
}
|
|
113298
113437
|
}
|
|
113299
113438
|
},
|
|
@@ -113552,6 +113691,23 @@ var require_priceFeeds = __commonJS({
|
|
|
113552
113691
|
}
|
|
113553
113692
|
}
|
|
113554
113693
|
},
|
|
113694
|
+
USDeDAI: {
|
|
113695
|
+
AllNetworks: {
|
|
113696
|
+
Main: {
|
|
113697
|
+
type: pricefeedType_1.PriceFeedType.CURVE_2LP_ORACLE,
|
|
113698
|
+
assets: ["USDe", "DAI"],
|
|
113699
|
+
trusted: false
|
|
113700
|
+
}
|
|
113701
|
+
}
|
|
113702
|
+
},
|
|
113703
|
+
MtEthena: {
|
|
113704
|
+
AllNetworks: {
|
|
113705
|
+
Main: {
|
|
113706
|
+
type: pricefeedType_1.PriceFeedType.ZERO_ORACLE,
|
|
113707
|
+
trusted: true
|
|
113708
|
+
}
|
|
113709
|
+
}
|
|
113710
|
+
},
|
|
113555
113711
|
FRAXUSDe: {
|
|
113556
113712
|
AllNetworks: {
|
|
113557
113713
|
Main: {
|
|
@@ -121339,6 +121495,19 @@ var require_multicall = __commonJS({
|
|
|
121339
121495
|
}
|
|
121340
121496
|
});
|
|
121341
121497
|
|
|
121498
|
+
// ../../node_modules/@gearbox-protocol/sdk-gov/lib/utils/sleep.js
|
|
121499
|
+
var require_sleep = __commonJS({
|
|
121500
|
+
"../../node_modules/@gearbox-protocol/sdk-gov/lib/utils/sleep.js"(exports2) {
|
|
121501
|
+
"use strict";
|
|
121502
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
121503
|
+
exports2.sleep = void 0;
|
|
121504
|
+
function sleep(ms) {
|
|
121505
|
+
return new Promise((resolve2) => setTimeout(resolve2, ms));
|
|
121506
|
+
}
|
|
121507
|
+
exports2.sleep = sleep;
|
|
121508
|
+
}
|
|
121509
|
+
});
|
|
121510
|
+
|
|
121342
121511
|
// ../../node_modules/@gearbox-protocol/sdk-gov/lib/utils/types.js
|
|
121343
121512
|
var require_types8 = __commonJS({
|
|
121344
121513
|
"../../node_modules/@gearbox-protocol/sdk-gov/lib/utils/types.js"(exports2) {
|
|
@@ -121530,6 +121699,20 @@ var require_audits = __commonJS({
|
|
|
121530
121699
|
}
|
|
121531
121700
|
});
|
|
121532
121701
|
|
|
121702
|
+
// ../../node_modules/@gearbox-protocol/sdk-gov/lib/verification/explorers.js
|
|
121703
|
+
var require_explorers = __commonJS({
|
|
121704
|
+
"../../node_modules/@gearbox-protocol/sdk-gov/lib/verification/explorers.js"(exports2) {
|
|
121705
|
+
"use strict";
|
|
121706
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
121707
|
+
exports2.explorerUrl = void 0;
|
|
121708
|
+
exports2.explorerUrl = {
|
|
121709
|
+
Mainnet: "https://api.etherscan.io/api",
|
|
121710
|
+
Arbitrum: "https://api.arbiscan.io/api",
|
|
121711
|
+
Optimism: "https://api.optimistic.etherscan.io/api"
|
|
121712
|
+
};
|
|
121713
|
+
}
|
|
121714
|
+
});
|
|
121715
|
+
|
|
121533
121716
|
// ../../node_modules/delayed-stream/lib/delayed_stream.js
|
|
121534
121717
|
var require_delayed_stream = __commonJS({
|
|
121535
121718
|
"../../node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
|
|
@@ -135154,8 +135337,8 @@ var require_github_checker = __commonJS({
|
|
|
135154
135337
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
135155
135338
|
exports2.GithubChecker = void 0;
|
|
135156
135339
|
var axios_1 = __importDefault3(require_axios());
|
|
135340
|
+
var sleep_1 = require_sleep();
|
|
135157
135341
|
var audits_1 = require_audits();
|
|
135158
|
-
var sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
|
|
135159
135342
|
var GithubChecker = class {
|
|
135160
135343
|
_audits = audits_1.audits;
|
|
135161
135344
|
baseURL = "https://risk.gearbox.foundation";
|
|
@@ -135218,7 +135401,7 @@ var require_github_checker = __commonJS({
|
|
|
135218
135401
|
let githubSource;
|
|
135219
135402
|
try {
|
|
135220
135403
|
githubSource = await this.getGithubSource(githubRawUrl);
|
|
135221
|
-
await sleep(1e3);
|
|
135404
|
+
await (0, sleep_1.sleep)(1e3);
|
|
135222
135405
|
} catch (e) {
|
|
135223
135406
|
console.error(`get github source error: ${e}`);
|
|
135224
135407
|
continue;
|
|
@@ -135297,50 +135480,12 @@ var require_lib222 = __commonJS({
|
|
|
135297
135480
|
__createBinding3(exports3, m, p);
|
|
135298
135481
|
};
|
|
135299
135482
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
135300
|
-
exports2.TokenType =
|
|
135483
|
+
exports2.TokenType = void 0;
|
|
135301
135484
|
__exportStar3(require_adapters(), exports2);
|
|
135302
|
-
|
|
135303
|
-
Object.defineProperty(exports2, "testUsdcConfigMainnet", { enumerable: true, get: function() {
|
|
135304
|
-
return test_usdcConfigMainnet_1.testUsdcConfigMainnet;
|
|
135305
|
-
} });
|
|
135306
|
-
var test_wethConfigArbitrum_1 = require_test_wethConfigArbitrum();
|
|
135307
|
-
Object.defineProperty(exports2, "testWethConfigArbitrum", { enumerable: true, get: function() {
|
|
135308
|
-
return test_wethConfigArbitrum_1.testWethConfigArbitrum;
|
|
135309
|
-
} });
|
|
135310
|
-
var usdcConfigArbitrum_1 = require_usdcConfigArbitrum();
|
|
135311
|
-
Object.defineProperty(exports2, "usdcConfigArbitrum", { enumerable: true, get: function() {
|
|
135312
|
-
return usdcConfigArbitrum_1.usdcConfigArbitrum;
|
|
135313
|
-
} });
|
|
135314
|
-
var usdcConfigMainnet_1 = require_usdcConfigMainnet();
|
|
135315
|
-
Object.defineProperty(exports2, "usdcConfigMainnet", { enumerable: true, get: function() {
|
|
135316
|
-
return usdcConfigMainnet_1.usdcConfigMainnet;
|
|
135317
|
-
} });
|
|
135318
|
-
var usdcConfigOptimism_1 = require_usdcConfigOptimism();
|
|
135319
|
-
Object.defineProperty(exports2, "usdcConfigOptimism", { enumerable: true, get: function() {
|
|
135320
|
-
return usdcConfigOptimism_1.usdcConfigOptimism;
|
|
135321
|
-
} });
|
|
135322
|
-
var wbtcConfigMainnet_1 = require_wbtcConfigMainnet();
|
|
135323
|
-
Object.defineProperty(exports2, "wbtcConfigMainnet", { enumerable: true, get: function() {
|
|
135324
|
-
return wbtcConfigMainnet_1.wbtcConfigMainnet;
|
|
135325
|
-
} });
|
|
135326
|
-
var wethConfigArbitrum_1 = require_wethConfigArbitrum();
|
|
135327
|
-
Object.defineProperty(exports2, "wethConfigArbitrum", { enumerable: true, get: function() {
|
|
135328
|
-
return wethConfigArbitrum_1.wethConfigArbitrum;
|
|
135329
|
-
} });
|
|
135330
|
-
var wethConfigMainnet_1 = require_wethConfigMainnet();
|
|
135331
|
-
Object.defineProperty(exports2, "wethConfigMainnet", { enumerable: true, get: function() {
|
|
135332
|
-
return wethConfigMainnet_1.wethConfigMainnet;
|
|
135333
|
-
} });
|
|
135334
|
-
var wethConfigOptimism_1 = require_wethConfigOptimism();
|
|
135335
|
-
Object.defineProperty(exports2, "wethConfigOptimism", { enumerable: true, get: function() {
|
|
135336
|
-
return wethConfigOptimism_1.wethConfigOptimism;
|
|
135337
|
-
} });
|
|
135485
|
+
__exportStar3(require_configs(), exports2);
|
|
135338
135486
|
__exportStar3(require_poolV3Core(), exports2);
|
|
135339
135487
|
__exportStar3(require_poolV3DeployConfig(), exports2);
|
|
135340
|
-
|
|
135341
|
-
Object.defineProperty(exports2, "AdapterInterface", { enumerable: true, get: function() {
|
|
135342
|
-
return adapters_1.AdapterInterface;
|
|
135343
|
-
} });
|
|
135488
|
+
__exportStar3(require_adapters2(), exports2);
|
|
135344
135489
|
__exportStar3(require_contracts(), exports2);
|
|
135345
135490
|
__exportStar3(require_protocols(), exports2);
|
|
135346
135491
|
__exportStar3(require_utilsContracts(), exports2);
|
|
@@ -135367,8 +135512,10 @@ var require_lib222 = __commonJS({
|
|
|
135367
135512
|
__exportStar3(require_mappers(), exports2);
|
|
135368
135513
|
__exportStar3(require_multicall(), exports2);
|
|
135369
135514
|
__exportStar3(require_safeEnum(), exports2);
|
|
135515
|
+
__exportStar3(require_sleep(), exports2);
|
|
135370
135516
|
__exportStar3(require_types8(), exports2);
|
|
135371
135517
|
__exportStar3(require_audits(), exports2);
|
|
135518
|
+
__exportStar3(require_explorers(), exports2);
|
|
135372
135519
|
__exportStar3(require_github_checker(), exports2);
|
|
135373
135520
|
}
|
|
135374
135521
|
});
|
|
@@ -353287,7 +353434,7 @@ function getRenderer(opts) {
|
|
|
353287
353434
|
}
|
|
353288
353435
|
|
|
353289
353436
|
// package.json
|
|
353290
|
-
var version3 = "4.15.
|
|
353437
|
+
var version3 = "4.15.5";
|
|
353291
353438
|
|
|
353292
353439
|
// src/version.ts
|
|
353293
353440
|
var version_default = version3;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/deploy-tools",
|
|
3
3
|
"description": "Gearbox deploy tools",
|
|
4
|
-
"version": "4.15.
|
|
4
|
+
"version": "4.15.5",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
43
43
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
44
44
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
45
|
-
"@gearbox-protocol/sdk-gov": "^1.
|
|
45
|
+
"@gearbox-protocol/sdk-gov": "^1.42.0",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
47
47
|
"@types/node": "^20.11.24",
|
|
48
|
-
"@types/react": "^18.2.
|
|
49
|
-
"@types/react-dom": "^18.2.
|
|
48
|
+
"@types/react": "^18.2.63",
|
|
49
|
+
"@types/react-dom": "^18.2.20",
|
|
50
50
|
"abitype": "^0.10.1",
|
|
51
51
|
"chalk": "^5.3.0",
|
|
52
52
|
"commander": "^12.0.0",
|