mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
deployment script
This commit is contained in:
parent
3390e487c6
commit
2747fa89c2
22
scripts/deployIGP17.js
Normal file
22
scripts/deployIGP17.js
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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);
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user