UNPKG

@thenextblock/hardhat-weth

Version:
9 lines (6 loc) 254 B
import { Signer } from 'ethers'; import { WETH9, WETH9__factory } from '../typechain'; export async function deployWeth(deployer: Signer): Promise<WETH9> { const contract = await new WETH9__factory(deployer).deploy(); return contract.deployed(); }