dsa-governance/scripts/deployIGP17.js
2024-04-12 21:30:31 +05:30

23 lines
509 B
JavaScript

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