Proposal summary
WOOF! proposes to update Mainnet cWETHv3 and cWstETHv3 Comet markets to a new service patch version introducing several improvements and security enhancements:
- Extended Pause Controls: collateral interactions can now be paused independently per collateral asset.
- Price Feed Patch (Post-USDM incident response): skips price feed calls for assets with zero collateral factor, preventing unnecessary reverts.
- Collateral Deactivation Mechanism: introduces a Guardian-controlled emergency mechanism to deactivate unsafe collateral assets, with reactivation requiring a governance proposal.
- Utilization Peaking Protection: caps utilization at 200%, preventing additional borrowing when post-borrow utilization exceeds this threshold, while preserving lender withdrawals.
- Borrow Index Fix (Empty Market): prevents borrow interest accrual in markets without active borrowers.
- Supply Index Fix (Empty Market): ensures supply index only accrues when lenders are present.
- Lender Illiquidity Fix in Zero-Borrow Markets: prevents reserve depletion in markets with no borrowers by capping supply rate to zero when utilization is zero and reserves are exhausted.
- Accrue Interest on Collateral Actions (Post-USDM incident response): collateral actions (supply, withdraw, transfer) now trigger interest accrual for affected accounts.
- Technical Improvements: includes removal of redundant arguments in supplyInternal() and optimized price caching in absorbInternal(), improving gas efficiency without affecting protocol behavior.
This proposal takes the governance steps recommended and necessary to update Compound III WETH and wstETH markets on Mainnet. Simulations have confirmed the market's readiness, as much as possible, using the Comet scenario suite.
Detailed information can be found on the corresponding proposal pull request.
Bytecode Repository
This update is done with the use of the bytecode repository, which provides trustless and deterministic deployments.
Further details on the deployment can be found in the Bytecode Repository git and forum discussion.
Audit
Both service patch Comet update and Bytecode Repository have been audited by Certora and full reports can be found here:
Proposal Actions
The first proposal action updates the version in the new Comet factory to the recent service patch version.
The second proposal action updates the factory of the WETH Comet to the new V2 factory.
The third proposal action sets the extension delegate for the WETH Comet to the new service patch version.
The fourth proposal action deploys and upgrades the WETH Comet to the new service patch version.
The fifth proposal action updates the factory of the wstETH Comet to the new V2 factory.
The sixth proposal action sets the extension delegate for the wstETH Comet to the new service patch version.
The seventh proposal action deploys and upgrades the wstETH Comet to the new service patch version.