This commit is contained in:
Thrilok kumar 2024-03-23 02:26:41 -04:00
parent baf9ec7e44
commit 5b7585584f
3 changed files with 24 additions and 1 deletions

View File

@ -549,7 +549,7 @@ contract PayloadIGP15 {
IFluidVaultT1(vault_).updateCoreSettings(
100 * 1e2, // 1x supplyRateMagnifier
100 * 1e2, // 1x borrowRateMagnifier
88 * 1e2, // 88% collateralFactor
88 * 1e2, // 88% collateralFactor
90 * 1e2, // 90% liquidationThreshold
95 * 1e2, // 95% liquidationMaxLimit
5 * 1e2, // 5% withdrawGap

File diff suppressed because one or more lines are too long

22
scripts/deployIGP15.js Normal file
View File

@ -0,0 +1,22 @@
const hre = require("hardhat");
const { ethers } = hre;
async function main() {
const PayloadIGP15 = await ethers.getContractFactory("PayloadIGP15")
const payloadIGP15 = await PayloadIGP15.deploy()
await payloadIGP15.deployed()
console.log("PayloadIGP15: ", payloadIGP15.address)
await hre.run("verify:verify", {
address: payloadIGP15.address,
constructorArguments: []
})
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error);
process.exit(1);
});