@gearbox-protocol/deploy-tools 5.3.1 → 5.3.2
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 +15 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -361984,10 +361984,16 @@ var MarketFactory = class extends SDKConstruct {
|
|
|
361984
361984
|
constructor(sdk, marketData) {
|
|
361985
361985
|
super(sdk);
|
|
361986
361986
|
this.state = marketData;
|
|
361987
|
-
|
|
361988
|
-
sdk,
|
|
361987
|
+
let configurator = sdk.contracts.get(
|
|
361989
361988
|
marketData.configurator
|
|
361990
361989
|
);
|
|
361990
|
+
if (!configurator) {
|
|
361991
|
+
configurator = new MarketConfiguratorContract(
|
|
361992
|
+
sdk,
|
|
361993
|
+
marketData.configurator
|
|
361994
|
+
);
|
|
361995
|
+
}
|
|
361996
|
+
this.configurator = configurator;
|
|
361991
361997
|
this.acl = marketData.acl;
|
|
361992
361998
|
const allTokens = [
|
|
361993
361999
|
...marketData.tokens,
|
|
@@ -362386,7 +362392,11 @@ var MarketRegister = class extends SDKConstruct {
|
|
|
362386
362392
|
return this.markets.flatMap((market) => market.creditManagers);
|
|
362387
362393
|
}
|
|
362388
362394
|
get marketConfigurators() {
|
|
362389
|
-
|
|
362395
|
+
const result = /* @__PURE__ */ new Set();
|
|
362396
|
+
for (const m of this.markets) {
|
|
362397
|
+
result.add(m.configurator);
|
|
362398
|
+
}
|
|
362399
|
+
return Array.from(result);
|
|
362390
362400
|
}
|
|
362391
362401
|
findCreditManager(creditManager) {
|
|
362392
362402
|
const addr = creditManager.toLowerCase();
|
|
@@ -397203,7 +397213,7 @@ function getRenderer(opts) {
|
|
|
397203
397213
|
var package_default = {
|
|
397204
397214
|
name: "@gearbox-protocol/deploy-tools",
|
|
397205
397215
|
description: "Gearbox deploy tools",
|
|
397206
|
-
version: "5.3.
|
|
397216
|
+
version: "5.3.2",
|
|
397207
397217
|
homepage: "https://gearbox.fi",
|
|
397208
397218
|
keywords: [
|
|
397209
397219
|
"gearbox"
|
|
@@ -397246,7 +397256,7 @@ var package_default = {
|
|
|
397246
397256
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
397247
397257
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
397248
397258
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
397249
|
-
"@gearbox-protocol/sdk": "^3.0.0-vfour.
|
|
397259
|
+
"@gearbox-protocol/sdk": "^3.0.0-vfour.137",
|
|
397250
397260
|
"@gearbox-protocol/sdk-gov": "^2.33.1",
|
|
397251
397261
|
"@types/lodash-es": "^4.17.12",
|
|
397252
397262
|
"@types/node": "^22.10.2",
|
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": "5.3.
|
|
4
|
+
"version": "5.3.2",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
45
45
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
46
46
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
47
|
-
"@gearbox-protocol/sdk": "^3.0.0-vfour.
|
|
47
|
+
"@gearbox-protocol/sdk": "^3.0.0-vfour.137",
|
|
48
48
|
"@gearbox-protocol/sdk-gov": "^2.33.1",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/node": "^22.10.2",
|