@gearbox-protocol/deploy-tools 4.15.6 → 4.15.8
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 +44 -12
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6853,11 +6853,13 @@ var require_adapters = __commonJS({
|
|
|
6853
6853
|
"../../node_modules/@gearbox-protocol/sdk-gov/lib/config/adapters.js"(exports2) {
|
|
6854
6854
|
"use strict";
|
|
6855
6855
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6856
|
+
exports2.BalancerPoolStatus = void 0;
|
|
6857
|
+
var BalancerPoolStatus;
|
|
6858
|
+
(function(BalancerPoolStatus2) {
|
|
6859
|
+
BalancerPoolStatus2[BalancerPoolStatus2["NOT_ALLOWED"] = 0] = "NOT_ALLOWED";
|
|
6860
|
+
BalancerPoolStatus2[BalancerPoolStatus2["ALLOWED"] = 1] = "ALLOWED";
|
|
6861
|
+
BalancerPoolStatus2[BalancerPoolStatus2["SWAP_ONLY"] = 2] = "SWAP_ONLY";
|
|
6862
|
+
})(BalancerPoolStatus || (exports2.BalancerPoolStatus = BalancerPoolStatus = {}));
|
|
6861
6863
|
}
|
|
6862
6864
|
});
|
|
6863
6865
|
|
|
@@ -8782,6 +8784,11 @@ var require_wethConfigArbitrum = __commonJS({
|
|
|
8782
8784
|
{
|
|
8783
8785
|
token: "cbETH",
|
|
8784
8786
|
lt: 9600
|
|
8787
|
+
},
|
|
8788
|
+
// LST
|
|
8789
|
+
{
|
|
8790
|
+
token: "ezETH",
|
|
8791
|
+
lt: 9e3
|
|
8785
8792
|
}
|
|
8786
8793
|
],
|
|
8787
8794
|
adapters: [tier1UniV3Config, tier1BalancerConfig]
|
|
@@ -8908,6 +8915,12 @@ var require_wethConfigArbitrum = __commonJS({
|
|
|
8908
8915
|
maxRate: 350,
|
|
8909
8916
|
quotaIncreaseFee: 0,
|
|
8910
8917
|
limit: BigInt(2500) * POOL_DECIMALS
|
|
8918
|
+
},
|
|
8919
|
+
ezETH: {
|
|
8920
|
+
minRate: 5,
|
|
8921
|
+
maxRate: 3e3,
|
|
8922
|
+
quotaIncreaseFee: 0,
|
|
8923
|
+
limit: BigInt(0) * POOL_DECIMALS
|
|
8911
8924
|
}
|
|
8912
8925
|
},
|
|
8913
8926
|
creditManagers: [tier1CreditManager, tier2CreditManager],
|
|
@@ -109930,7 +109943,7 @@ var require_token = __commonJS({
|
|
|
109930
109943
|
OP: constants_1.NOT_DEPLOYED,
|
|
109931
109944
|
osETH: constants_1.NOT_DEPLOYED,
|
|
109932
109945
|
weETH: "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe",
|
|
109933
|
-
ezETH:
|
|
109946
|
+
ezETH: "0x2416092f143378750bb29b79eD961ab195CcEea5",
|
|
109934
109947
|
rsETH: "0x4186BFC76E2E237523CBC30FD220FE055156b41F",
|
|
109935
109948
|
PENDLE: "0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8",
|
|
109936
109949
|
frxETH: "0x178412e79c25968a32e89b11f63B33F733770c2A",
|
|
@@ -113170,7 +113183,7 @@ var require_priceFeeds = __commonJS({
|
|
|
113170
113183
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
113171
113184
|
address: "0xbC5FBcf58CeAEa19D523aBc76515b9AEFb5cfd58",
|
|
113172
113185
|
stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
|
|
113173
|
-
trusted:
|
|
113186
|
+
trusted: false
|
|
113174
113187
|
}
|
|
113175
113188
|
}
|
|
113176
113189
|
},
|
|
@@ -113434,6 +113447,25 @@ var require_priceFeeds = __commonJS({
|
|
|
113434
113447
|
type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
|
|
113435
113448
|
token: "WETH"
|
|
113436
113449
|
}
|
|
113450
|
+
},
|
|
113451
|
+
Arbitrum: {
|
|
113452
|
+
Main: {
|
|
113453
|
+
type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
|
|
113454
|
+
targetToBasePriceFeed: {
|
|
113455
|
+
type: pricefeedType_1.PriceFeedType.REDSTONE_ORACLE,
|
|
113456
|
+
dataServiceId: "redstone-primary-prod",
|
|
113457
|
+
dataId: "ezETH/ETH",
|
|
113458
|
+
...exports2.REDSTONE_SIGNERS
|
|
113459
|
+
},
|
|
113460
|
+
targetStalenessPeriod: pricefeedType_1.FOUR_MINUTES,
|
|
113461
|
+
baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
|
|
113462
|
+
baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
|
|
113463
|
+
trusted: false
|
|
113464
|
+
},
|
|
113465
|
+
Reserve: {
|
|
113466
|
+
type: pricefeedType_1.PriceFeedType.THE_SAME_AS,
|
|
113467
|
+
token: "WETH"
|
|
113468
|
+
}
|
|
113437
113469
|
}
|
|
113438
113470
|
},
|
|
113439
113471
|
rswETH: {
|
|
@@ -113776,6 +113808,7 @@ var require_priceFeeds = __commonJS({
|
|
|
113776
113808
|
Main: {
|
|
113777
113809
|
type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
|
|
113778
113810
|
address: "0xEEf0C605546958c1f899b6fB336C20671f9cD49F",
|
|
113811
|
+
stalenessPeriod: pricefeedType_1.HOUR_24,
|
|
113779
113812
|
trusted: false
|
|
113780
113813
|
}
|
|
113781
113814
|
},
|
|
@@ -352301,7 +352334,7 @@ var ZeroLT = class extends ProviderBase {
|
|
|
352301
352334
|
} else {
|
|
352302
352335
|
throw new Error(`acl not loaded: ${aclAddr.reason}`);
|
|
352303
352336
|
}
|
|
352304
|
-
this.#configurator = await this
|
|
352337
|
+
this.#configurator = await this.acl.owner();
|
|
352305
352338
|
this.logger?.debug("configurator: ", this.#configurator);
|
|
352306
352339
|
const [cmV2s, cmV3s] = await this.#loadCMs(opts.cm);
|
|
352307
352340
|
this.logger.debug(`managers: ${cmV2s.length} v2, ${cmV3s.length} v3`);
|
|
@@ -352388,8 +352421,8 @@ var ZeroLT = class extends ProviderBase {
|
|
|
352388
352421
|
await stopImpersonate(this.provider, cm.creditConfigurator);
|
|
352389
352422
|
await stopImpersonate(this.provider, this.configurator);
|
|
352390
352423
|
logger2.trace("zero lt self-checking");
|
|
352391
|
-
const
|
|
352392
|
-
if (
|
|
352424
|
+
const cms = await this.dc300.getCreditManagerData(cm.addr);
|
|
352425
|
+
if (cms.liquidationThresholds.some((lt) => lt > 1)) {
|
|
352393
352426
|
throw new Error("LT is not 1");
|
|
352394
352427
|
}
|
|
352395
352428
|
logger2.info("zero lt OK for CM " + cm.addr);
|
|
@@ -352464,7 +352497,6 @@ function launchForks() {
|
|
|
352464
352497
|
Authorization: `Bearer ${apiKey}`
|
|
352465
352498
|
},
|
|
352466
352499
|
body: JSON.stringify(r)
|
|
352467
|
-
}).catch(() => {
|
|
352468
352500
|
});
|
|
352469
352501
|
});
|
|
352470
352502
|
process.exit(0);
|
|
@@ -353522,7 +353554,7 @@ function getRenderer(opts) {
|
|
|
353522
353554
|
}
|
|
353523
353555
|
|
|
353524
353556
|
// package.json
|
|
353525
|
-
var version3 = "4.15.
|
|
353557
|
+
var version3 = "4.15.8";
|
|
353526
353558
|
|
|
353527
353559
|
// src/version.ts
|
|
353528
353560
|
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.8",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -42,7 +42,7 @@
|
|
|
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.44.0",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
47
47
|
"@types/node": "^20.11.25",
|
|
48
48
|
"@types/react": "^18.2.64",
|