hardhat-deploy
Advanced tools
Comparing version 0.11.41 to 0.11.42
@@ -184,2 +184,5 @@ "use strict"; | ||
break; | ||
case '1284': | ||
host = 'https://api-moonbeam.moonscan.io'; | ||
break; | ||
case '1285': | ||
@@ -209,2 +212,8 @@ host = 'https://api-moonriver.moonscan.io'; | ||
break; | ||
case '338': | ||
host = 'https://api-testnet.cronoscan.com/api'; | ||
break; | ||
case '25': | ||
host = 'https://api.cronoscan.com/api'; | ||
break; | ||
case '11155111': | ||
@@ -211,0 +220,0 @@ host = 'https://api-sepolia.etherscan.io'; |
import './type-extensions'; | ||
import { getNetworkName } from './utils'; | ||
export { getNetworkName }; | ||
export declare const TASK_DEPLOY = "deploy"; | ||
@@ -3,0 +5,0 @@ export declare const TASK_DEPLOY_MAIN = "deploy:main"; |
@@ -25,3 +25,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TASK_SOURCIFY = exports.TASK_ETHERSCAN_VERIFY = exports.TASK_EXPORT = exports.TASK_DEPLOY_RUN_DEPLOY = exports.TASK_DEPLOY_MAIN = exports.TASK_DEPLOY = void 0; | ||
exports.TASK_SOURCIFY = exports.TASK_ETHERSCAN_VERIFY = exports.TASK_EXPORT = exports.TASK_DEPLOY_RUN_DEPLOY = exports.TASK_DEPLOY_MAIN = exports.TASK_DEPLOY = exports.getNetworkName = void 0; | ||
require("./type-extensions"); | ||
@@ -45,2 +45,3 @@ const path_1 = __importDefault(require("path")); | ||
const utils_1 = require("./utils"); | ||
Object.defineProperty(exports, "getNetworkName", { enumerable: true, get: function () { return utils_1.getNetworkName; } }); | ||
exports.TASK_DEPLOY = 'deploy'; | ||
@@ -47,0 +48,0 @@ exports.TASK_DEPLOY_MAIN = 'deploy:main'; |
{ | ||
"name": "hardhat-deploy", | ||
"version": "0.11.41", | ||
"version": "0.11.42", | ||
"description": "Hardhat Plugin For Replicable Deployments And Tests", | ||
@@ -5,0 +5,0 @@ "repository": "github:wighawag/hardhat-deploy", |
@@ -172,3 +172,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
getDeploymentsFromAddress: async (address: string) => { | ||
const deployments = []; | ||
const deployments: Deployment[] = []; | ||
for (const deployment of Object.values(this.db.deployments)) { | ||
@@ -175,0 +175,0 @@ if (deployment.address === address) { |
@@ -208,2 +208,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
break; | ||
case '1284': | ||
host = 'https://api-moonbeam.moonscan.io'; | ||
break; | ||
case '1285': | ||
@@ -233,2 +236,8 @@ host = 'https://api-moonriver.moonscan.io'; | ||
break; | ||
case '338': | ||
host = 'https://api-testnet.cronoscan.com/api'; | ||
break; | ||
case '25': | ||
host = 'https://api.cronoscan.com/api'; | ||
break; | ||
case '11155111': | ||
@@ -235,0 +244,0 @@ host = 'https://api-sepolia.etherscan.io'; |
@@ -38,2 +38,4 @@ import './type-extensions'; | ||
export {getNetworkName}; | ||
export const TASK_DEPLOY = 'deploy'; | ||
@@ -40,0 +42,0 @@ export const TASK_DEPLOY_MAIN = 'deploy:main'; |
@@ -273,3 +273,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
): (options?: O) => Promise<T>; | ||
log(...args: any[]): void; // log data only ig log enabled (disabled in test fixture) | ||
log(...args: any[]): void; // log data only if log enabled (disabled in test fixture) | ||
@@ -276,0 +276,0 @@ getNetworkName(): string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11885328
164395