dsa-governance/scripts/deployIGP14.js

23 lines
509 B
JavaScript
Raw Permalink Normal View History

2024-03-21 22:31:22 +00:00
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
2024-03-21 23:26:16 +00:00
const PayloadIGP14 = await ethers.getContractFactory("PayloadIGP14")
const payloadIGP14 = await PayloadIGP14.deploy()
await payloadIGP14.deployed()
2024-03-21 22:31:22 +00:00
2024-03-21 23:26:16 +00:00
console.log("PayloadIGP14: ", payloadIGP14.address)
2024-03-21 22:31:22 +00:00
await hre.run("verify:verify", {
2024-03-21 23:26:16 +00:00
address: payloadIGP14.address,
2024-03-21 22:31:22 +00:00
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});