dsa-governance/scripts/deploySimulation.js

18 lines
362 B
JavaScript
Raw Permalink Normal View History

2024-03-19 20:12:01 +00:00
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
2024-04-02 16:58:21 +00:00
const payload = await ethers.deployContract("PayloadIGP16", [])
2024-03-19 20:12:01 +00:00
await payload.waitForDeployment()
2024-04-02 16:58:21 +00:00
console.log("PayloadIGP16: ", payload.target)
2024-03-19 20:12:01 +00:00
console.log()
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});