Skip to content

Commit

Permalink
fixup! fixup! feat: upgrade RiskFund to support ACM in sweepTokensFro…
Browse files Browse the repository at this point in the history
…mPool
  • Loading branch information
kkirka committed Aug 28, 2024
1 parent 50e42af commit fdce0cd
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions vips/vip-357/bscmainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,33 @@ export const EXPLOITER_WALLET = "0x489A8756C18C0b8B24EC2a2b9FF3D4d447F79BEc";
export const vip357 = async () => {
const meta = {
version: "v2",
title: "VIP-357",
description: ``,
title: "VIP-357 Extend accessibility to the risk funds",
description: `If passed, this VIP will upgrade the [RiskFund contract](https://bscscan.com/address/0xdF31a28D68A2AB381D42b380649Ead7ae2A76E42), enabling funds to be extracted through Fast-track and Critical VIPs, in addition to the current method of using Normal VIPs.
Moreover, this VIP would authorize the Venus Governance to liquidate the BNB Exploiter account via any type of VIP’s, and to change the percentage of the liquidation fee for the protocol with Fast-track and Critical VIP’s. This would effectively allow Venus to be the liquidator of that account and to keep the seized BNB supplied to Venus.
#### Security and additional considerations
We applied the following security procedures for this upgrade:
* **Audits:** [Certik](https://www.certik.com/) has audited the changes in the RiskFund contract.
* **VIP execution simulation:** in a simulation environment, validating the new implementation works as expected
* **Deployment on testnet:** the same contract has been deployed to BNB testnet, and used in the Venus Protocol testnet deployment
#### Audit reports
* [Certik audit report - 2024/08/26](https://github.com/VenusProtocol/protocol-reserve/blob/477e0f80384461163a5140c7e7f69e44c324bd91/audits/117_riskFundUpgrade_certik_20240826.pdf)
#### Deployed contracts
* [New RiskFund implementation on BNB Chain](https://bscscan.com/address/0x7Ef5ABbcC9A701e728BeB7Afd4fb5747fAB15A28)
* [New RiskFund implementation on BNB testnet ](https://testnet.bscscan.com/address/0x394C9a8cDbbFcAbEAb21fB105311B6B1f09b667a)
#### References
* [VIP simulation](https://github.com/VenusProtocol/vips/pull/358)
* [Execution on testnet](https://testnet.bscscan.com/tx/0x7241fe30b49b11fcbfa4359fd02aff0cc33dc85d0f94e1f21fe959e54fc61e85)
`,
forDescription: "I agree that Venus Protocol should proceed with this proposal",
againstDescription: "I do not think that Venus Protocol should proceed with this proposal",
abstainDescription: "I am indifferent to whether Venus Protocol proceeds or not",
Expand Down

0 comments on commit fdce0cd

Please sign in to comment.