From 8c1a7b88681dc99aafbdd29b47dd14abb2466099 Mon Sep 17 00:00:00 2001 From: Jesus Lanchas Date: Mon, 25 Sep 2023 15:21:27 +0200 Subject: [PATCH] feat: set the right number for VIP-175 --- .../{vip-173 => vip-175}/abi/COMPTROLLER_ABI.json | 0 simulations/{vip-173 => vip-175}/simulations.ts | 4 ++-- vips/{vip-173.ts => vip-175.ts} | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) rename simulations/{vip-173 => vip-175}/abi/COMPTROLLER_ABI.json (100%) rename simulations/{vip-173 => vip-175}/simulations.ts (93%) rename vips/{vip-173.ts => vip-175.ts} (87%) diff --git a/simulations/vip-173/abi/COMPTROLLER_ABI.json b/simulations/vip-175/abi/COMPTROLLER_ABI.json similarity index 100% rename from simulations/vip-173/abi/COMPTROLLER_ABI.json rename to simulations/vip-175/abi/COMPTROLLER_ABI.json diff --git a/simulations/vip-173/simulations.ts b/simulations/vip-175/simulations.ts similarity index 93% rename from simulations/vip-173/simulations.ts rename to simulations/vip-175/simulations.ts index 5819a4614..3624fb851 100644 --- a/simulations/vip-173/simulations.ts +++ b/simulations/vip-175/simulations.ts @@ -5,7 +5,7 @@ import { ethers } from "hardhat"; import { expectEvents } from "../../src/utils"; import { forking, testVip } from "../../src/vip-framework"; -import { COMPTROLLER, VTUSD, vip173 } from "../../vips/vip-173"; +import { COMPTROLLER, VTUSD, vip175 } from "../../vips/vip-175"; import COMPTROLLER_ABI from "./abi/COMPTROLLER_ABI.json"; forking(31934930, () => { @@ -28,7 +28,7 @@ forking(31934930, () => { }); }); - testVip("VIP-173 Risk Parameters Update", vip173(), { + testVip("VIP-175 Risk Parameters Update", vip175(), { callbackAfterExecution: async (txResponse: TransactionResponse) => { await expectEvents(txResponse, [COMPTROLLER_ABI], ["NewSupplyCap", "NewBorrowCap", "Failure"], [1, 1, 0]); }, diff --git a/vips/vip-173.ts b/vips/vip-175.ts similarity index 87% rename from vips/vip-173.ts rename to vips/vip-175.ts index fbf4132b7..33fce8f34 100644 --- a/vips/vip-173.ts +++ b/vips/vip-175.ts @@ -6,17 +6,16 @@ import { makeProposal } from "../src/utils"; export const COMPTROLLER = "0xfD36E2c2a6789Db23113685031d7F16329158384"; export const VTUSD = "0xBf762cd5991cA1DCdDaC9ae5C638F5B5Dc3Bee6E"; -export const vip173 = () => { +export const vip175 = () => { const meta = { version: "v2", - title: "VIP-173 Risk Parameters Adjustments", - description: `**Summary** + title: "VIP-175 Risk Parameters Adjustments", + description: `#### Summary This VIP will perform the following Risk Parameters actions as per Chaos Labs latest recommendations in this Venus community forum publication: [Risk Parameter Updates 09/18/2023](https://community.venus.io/t/chaos-labs-risk-parameter-updates-09-18-2023/3808) -* Increase **TUSD** supply cap to 5,000,000 -* Increase **TUSD** borrow cap to 4,000,000 - +- Increase supply cap of **TUSD** to 5,000,000 TUSD +- Increase borrow cap of **TUSD** to 4,000,000 TUSD Complete analysis and details of these recommendations are available in the above publication.