@gearbox-protocol/deploy-tools 4.14.3 → 4.15.0

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 +18 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -344937,6 +344937,9 @@ var AddressProviderV3Visitor = class extends AbstractVisitor {
344937
344937
  case "MULTIPAUSE":
344938
344938
  contract = "MULTIPAUSE";
344939
344939
  break;
344940
+ case "INFLATION_ATTACK_BLOCKER":
344941
+ contract = "INFLATION_ATTACK_BLOCKER";
344942
+ break;
344940
344943
  default:
344941
344944
  throw new Error(`unknown address provider key '${contract}'`);
344942
344945
  }
@@ -347986,6 +347989,17 @@ var GovernorV3Parser = class extends AbstractParser {
347986
347989
  }
347987
347990
  };
347988
347991
 
347992
+ // ../../packages/node/dist/parsers/InflationAttackBlockerParser.js
347993
+ var InflationAttackBlockerParser = class extends AbstractParser {
347994
+ constructor(contractType) {
347995
+ super(contractType, "constructor()");
347996
+ this._iFace = new Interface2([
347997
+ "function transferOwnership(address newOwner)",
347998
+ "function mintDeadShares(address pool)"
347999
+ ]);
348000
+ }
348001
+ };
348002
+
347989
348003
  // ../../packages/node/dist/parsers/InterestRateModelV1Parser.js
347990
348004
  var InterestRateModelV1Parser = class extends AbstractParser {
347991
348005
  constructor(contractType) {
@@ -348262,6 +348276,7 @@ var CONTRACT_NAME_TO_TYPE = new Map([
348262
348276
  ["FarmingPool", "ONE_INCH_FARMING_POOL"],
348263
348277
  ["GaugeV3", "GAUGE_V3"],
348264
348278
  ["GearStakingV3", "GEAR_STAKING"],
348279
+ ["InflationAttackBlocker", "INFLATION_ATTACK_BLOCKER"],
348265
348280
  ["LinearInterestRateModelV3", "INTEREST_RATE_MODEL_V3"],
348266
348281
  ["PoolQuotaKeeperV3", "POOL_QUOTA_KEEPER_V3"],
348267
348282
  ["PoolV3", "POOL_V3"],
@@ -348332,6 +348347,8 @@ function parserForContractType(contract, version5, contractName) {
348332
348347
  return new GearStakingV3Parser(contract);
348333
348348
  case "GOVERNOR_V3":
348334
348349
  return new GovernorV3Parser(contract);
348350
+ case "INFLATION_ATTACK_BLOCKER":
348351
+ return new InflationAttackBlockerParser(contract);
348335
348352
  case "INTEREST_RATE_MODEL_V1":
348336
348353
  return new InterestRateModelV1Parser(contract);
348337
348354
  case "INTEREST_RATE_MODEL_V3":
@@ -349722,7 +349739,7 @@ function getRenderer(opts) {
349722
349739
  }
349723
349740
 
349724
349741
  // package.json
349725
- var version3 = "4.14.3";
349742
+ var version3 = "4.15.0";
349726
349743
 
349727
349744
  // src/version.ts
349728
349745
  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.14.3",
4
+ "version": "4.15.0",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"