dsa-governance/scripts/deployIGP14.js
Thrilok kumar 32f51d8584 fix
2024-03-21 19:26:16 -04:00

23 lines
509 B
JavaScript

const hre = require("hardhat");
const { ethers } = hre;
async function main() {
const PayloadIGP14 = await ethers.getContractFactory("PayloadIGP14")
const payloadIGP14 = await PayloadIGP14.deploy()
await payloadIGP14.deployed()
console.log("PayloadIGP14: ", payloadIGP14.address)
await hre.run("verify:verify", {
address: payloadIGP14.address,
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});