@thenextblock/hardhat-weth
Version:
WETH deployment plugin for Hardhat
13 lines • 524 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WETH_DEPLOY = void 0;
const config_1 = require("hardhat/config");
const functions_1 = require("./functions");
exports.WETH_DEPLOY = 'weth:deploy';
(0, config_1.task)(exports.WETH_DEPLOY, 'Deploy WETH9', async (args, hre) => {
const [deployer] = await hre.ethers.getSigners();
const weth = await (0, functions_1.deployWeth)(deployer);
console.log(`WETH9: ${weth.address}`);
return weth;
});
//# sourceMappingURL=tasks.js.map