@gearbox-protocol/deploy-tools 5.17.1 → 5.17.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +58 -12
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -364741,12 +364741,42 @@ var MarketConfiguratorContract = class extends BaseContract {
364741
364741
  }
364742
364742
  processLog(log2) {
364743
364743
  switch (log2.eventName) {
364744
- // case "DeployDegenNFT":
364745
- // case "SetName":
364746
- // case "SetPriceFeedFromStore":
364747
- // case "SetReservePriceFeedFromStore":
364748
- case "ShutdownMarket":
364744
+ case "AddPeripheryContract":
364745
+ case "AddToken":
364746
+ case "AuthorizeFactory":
364747
+ case "ConfigureCreditSuite":
364748
+ case "ConfigureInterestRateModel":
364749
+ case "ConfigureLossPolicy":
364750
+ case "ConfigurePool":
364751
+ case "ConfigurePriceOracle":
364752
+ case "ConfigureRateKeeper":
364753
+ case "CreateCreditSuite":
364749
364754
  case "CreateMarket":
364755
+ case "EmergencyConfigureCreditSuite":
364756
+ case "EmergencyConfigureInterestRateModel":
364757
+ case "EmergencyConfigureLossPolicy":
364758
+ case "EmergencyConfigurePool":
364759
+ case "EmergencyConfigurePriceOracle":
364760
+ case "EmergencyConfigureRateKeeper":
364761
+ case "EmergencyRevokeRole":
364762
+ case "ExecuteHook":
364763
+ case "GrantRole":
364764
+ case "RemovePeripheryContract":
364765
+ case "RevokeRole":
364766
+ case "SetEmergencyAdmin":
364767
+ case "ShutdownCreditSuite":
364768
+ case "ShutdownMarket":
364769
+ case "UnauthorizeFactory":
364770
+ case "UpdateInterestRateModel":
364771
+ case "UpdateLossPolicy":
364772
+ case "UpdatePriceOracle":
364773
+ case "UpdateRateKeeper":
364774
+ case "UpgradeCreditFactory":
364775
+ case "UpgradeInterestRateModelFactory":
364776
+ case "UpgradeLossPolicyFactory":
364777
+ case "UpgradePoolFactory":
364778
+ case "UpgradePriceOracleFactory":
364779
+ case "UpgradeRateKeeperFactory":
364750
364780
  this.dirty = true;
364751
364781
  break;
364752
364782
  }
@@ -376240,6 +376270,18 @@ var PriceOracleBaseContract = class extends BaseContract {
376240
376270
  ),
376241
376271
  reservePriceFeeds: Object.fromEntries(
376242
376272
  this.reservePriceFeeds.entries().map(([token, v]) => [this.labelAddress(token), v.stateHuman(raw)])
376273
+ ),
376274
+ mainPrices: Object.fromEntries(
376275
+ this.mainPrices.entries().map(([token, price]) => [
376276
+ this.labelAddress(token),
376277
+ formatBN(price, 8)
376278
+ ])
376279
+ ),
376280
+ reservePrices: Object.fromEntries(
376281
+ this.reservePrices.entries().map(([token, price]) => [
376282
+ this.labelAddress(token),
376283
+ formatBN(price, 8)
376284
+ ])
376243
376285
  )
376244
376286
  };
376245
376287
  }
@@ -380122,11 +380164,15 @@ var GearboxSDK = class _GearboxSDK {
380122
380164
  `address provider version: ${this.#addressProvider.version}`
380123
380165
  );
380124
380166
  await this.#addressProvider.syncState(this.currentBlock);
380125
- const botListAddress = this.#addressProvider.getAddress(
380126
- AP_BOT_LIST,
380127
- NO_VERSION
380128
- );
380129
- this.#botListContract = new BotListContract(this, botListAddress);
380167
+ try {
380168
+ const botListAddress = this.#addressProvider.getAddress(
380169
+ AP_BOT_LIST,
380170
+ NO_VERSION
380171
+ );
380172
+ this.#botListContract = new BotListContract(this, botListAddress);
380173
+ } catch (e) {
380174
+ this.logger?.error(e);
380175
+ }
380130
380176
  this.#gear = this.#addressProvider.getAddress(AP_GEAR_TOKEN, NO_VERSION);
380131
380177
  const gearStakingAddress = this.#addressProvider.getAddress(
380132
380178
  AP_GEAR_STAKING,
@@ -413366,7 +413412,7 @@ function getRenderer(opts) {
413366
413412
  var package_default = {
413367
413413
  name: "@gearbox-protocol/deploy-tools",
413368
413414
  description: "Gearbox deploy tools",
413369
- version: "5.17.1",
413415
+ version: "5.17.3",
413370
413416
  homepage: "https://gearbox.fi",
413371
413417
  keywords: [
413372
413418
  "gearbox"
@@ -413409,7 +413455,7 @@ var package_default = {
413409
413455
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
413410
413456
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
413411
413457
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
413412
- "@gearbox-protocol/sdk": "3.0.0-vfour.287",
413458
+ "@gearbox-protocol/sdk": "3.0.0-vfour.290",
413413
413459
  "@gearbox-protocol/sdk-gov": "^2.36.5",
413414
413460
  "@types/lodash-es": "^4.17.12",
413415
413461
  "@types/node": "^22.13.5",
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.17.1",
4
+ "version": "5.17.3",
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.287",
47
+ "@gearbox-protocol/sdk": "3.0.0-vfour.290",
48
48
  "@gearbox-protocol/sdk-gov": "^2.36.5",
49
49
  "@types/lodash-es": "^4.17.12",
50
50
  "@types/node": "^22.13.5",