dsa-governance/scripts/deployIGP13.js
2024-03-19 16:12:01 -04:00

23 lines
509 B
JavaScript

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