Skip to content

Commit

Permalink
feat: set the right number for VIP-175
Browse files Browse the repository at this point in the history
  • Loading branch information
chechu committed Sep 25, 2023
1 parent 6b002da commit 8c1a7b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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, () => {
Expand All @@ -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]);
},
Expand Down
11 changes: 5 additions & 6 deletions vips/vip-173.ts → vips/vip-175.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c1a7b8

Please sign in to comment.