mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
Merge branch 'main' into IGP-12
This commit is contained in:
commit
64b67f7c3b
|
@ -273,7 +273,7 @@ contract PayloadIGP10 {
|
||||||
// Action 1: Update market rates for USDC.
|
// Action 1: Update market rates for USDC.
|
||||||
action1();
|
action1();
|
||||||
|
|
||||||
// Action 1: Update market rates for USDT.
|
// Action 2: Update market rates for USDT.
|
||||||
action2();
|
action2();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
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