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
9c5da11f40
commit
58182e1976
1
deployments/mainnet_1/PayloadIGP10.json
Normal file
1
deployments/mainnet_1/PayloadIGP10.json
Normal file
File diff suppressed because one or more lines are too long
1
deployments/mainnet_1/PayloadIGP9.json
Normal file
1
deployments/mainnet_1/PayloadIGP9.json
Normal file
File diff suppressed because one or more lines are too long
22
scripts/deployIGP10.js
Normal file
22
scripts/deployIGP10.js
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
const hre = require("hardhat");
|
||||||
|
const { ethers } = hre;
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const PayloadIGP10 = await ethers.getContractFactory("PayloadIGP10")
|
||||||
|
const payloadIGP10 = await PayloadIGP10.deploy()
|
||||||
|
await payloadIGP10.deployed()
|
||||||
|
|
||||||
|
console.log("PayloadIGP10: ", payloadIGP10.address)
|
||||||
|
|
||||||
|
await hre.run("verify:verify", {
|
||||||
|
address: payloadIGP10.address,
|
||||||
|
constructorArguments: []
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
main()
|
||||||
|
.then(() => process.exit(0))
|
||||||
|
.catch(error => {
|
||||||
|
console.error(error);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
22
scripts/deployIGP9.js
Normal file
22
scripts/deployIGP9.js
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
const hre = require("hardhat");
|
||||||
|
const { ethers } = hre;
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const PayloadIGP9 = await ethers.getContractFactory("PayloadIGP9")
|
||||||
|
const payloadIGP9 = await PayloadIGP9.deploy()
|
||||||
|
await payloadIGP9.deployed()
|
||||||
|
|
||||||
|
console.log("PayloadIGP9: ", payloadIGP9.address)
|
||||||
|
|
||||||
|
await hre.run("verify:verify", {
|
||||||
|
address: payloadIGP9.address,
|
||||||
|
constructorArguments: []
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
main()
|
||||||
|
.then(() => process.exit(0))
|
||||||
|
.catch(error => {
|
||||||
|
console.error(error);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user