@gearbox-protocol/deploy-tools 5.57.0 → 5.57.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -27
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -367364,13 +367364,6 @@ var ProviderBase = class {
367364
367364
  };
367365
367365
 
367366
367366
  // ../../packages/node/dist/EtherscanVerifier.js
367367
- var API_KEYS = {
367368
- Mainnet: (o) => o.etherscanApiKey,
367369
- Optimism: (o) => o.etherscanOptimism,
367370
- Arbitrum: (o) => o.etherscanArbitrum,
367371
- Base: (o) => o.etherscanBase,
367372
- Sonic: (o) => o.etherscanSonic
367373
- };
367374
367367
  var EtherscanVerifier = class extends ProviderBase {
367375
367368
  #logger = log_default.child({ name: "etherscan" });
367376
367369
  #result = /* @__PURE__ */ new Map();
@@ -367380,7 +367373,7 @@ var EtherscanVerifier = class extends ProviderBase {
367380
367373
  async init() {
367381
367374
  await super.init();
367382
367375
  this.#etherscanBase = `https://api.etherscan.io/v2/api?chainid=${this.chainId}`;
367383
- const apikey = API_KEYS[this.network]?.(this.options);
367376
+ const apikey = this.options.etherscanApiKey;
367384
367377
  if (!apikey) {
367385
367378
  throw new Error(`etherscan api key not specified for ${this.network}`);
367386
367379
  }
@@ -374480,24 +374473,6 @@ function newCommand() {
374480
374473
  new Option("--etherscan-api-key <key>", "etherscan api key").env(
374481
374474
  "ETHERSCAN_API_KEY"
374482
374475
  )
374483
- ).addOption(
374484
- new Option(
374485
- "--etherscan-optimism <key>",
374486
- "etherscan api key for Optimism"
374487
- ).env("ETHERSCAN_OPTIMISM")
374488
- ).addOption(
374489
- new Option(
374490
- "--etherscan-arbitrum <key>",
374491
- "etherscan api key for Arbitrum"
374492
- ).env("ETHERSCAN_ARBITRUM")
374493
- ).addOption(
374494
- new Option("--etherscan-sonic <key>", "etherscan api key for Sonic").env(
374495
- "ETHERSCAN_SONIC"
374496
- )
374497
- ).addOption(
374498
- new Option("--etherscan-base <key>", "etherscan api key for Base").env(
374499
- "ETHERSCAN_BASE"
374500
- )
374501
374476
  ).addOption(
374502
374477
  new Option(
374503
374478
  "--governance-json <file>",
@@ -374595,7 +374570,7 @@ function getRenderer(opts) {
374595
374570
  var package_default = {
374596
374571
  name: "@gearbox-protocol/deploy-tools",
374597
374572
  description: "Gearbox deploy tools",
374598
- version: "5.57.0",
374573
+ version: "5.57.2",
374599
374574
  homepage: "https://gearbox.fi",
374600
374575
  keywords: [
374601
374576
  "gearbox"
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.57.0",
4
+ "version": "5.57.2",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"