Merge branch 'main' into IGP-12

This commit is contained in:
Thrilok kumar 2024-03-14 21:23:37 -04:00
commit 64b67f7c3b
5 changed files with 47 additions and 1 deletions

View File

@ -273,7 +273,7 @@ contract PayloadIGP10 {
// Action 1: Update market rates for USDC.
action1();
// Action 1: Update market rates for USDT.
// Action 2: Update market rates for USDT.
action2();
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

22
scripts/deployIGP10.js Normal file
View 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
View 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);
});