UNPKG

@nomicfoundation/hardhat-verify

Version:
14 lines (9 loc) 402 B
import type { NewTaskDefinition } from "hardhat/types/tasks"; import { task } from "hardhat/config"; import { extendWithVerificationArgs } from "../utils.js"; const verifyEtherscanTask: NewTaskDefinition = extendWithVerificationArgs( task(["verify", "etherscan"], "Verify a contract on Etherscan"), ) .setAction(() => import("./task-action.js")) .build(); export default verifyEtherscanTask;