Update and Standardize cToken Implementation
This proposal is a patch, developed by Compound Labs, which updates the base cToken implementation contract, and adopts it across all upgradable markets.
Changelog
The seize function has been modified to transfer 2.8% of a liquidation to cToken reserves, reducing the risk of cascading liquidations that could render the protocol insolvent. With each liquidation, the protocol’s ability to recover (or utilize reserves) increases.
Given the proliferation of COMP-like governance tokens, the delegate function has been merged into the base cToken implementation.
Adoption
The seven upgradable cTokens, deployed starting 18 months ago, currently rely on five different cToken implementation contracts, many of which lack the most modern features.
This proposal unifies all upgradable cTokens with a single implementation, which reduces the surface area of technical debt, and slightly reduces gas costs.
Development
This patch was developed publicly, coupled with completed scenario analysis. In addition to the Compound Labs bug bounty program, a secondary bug bounty was offered through Immunefi.
During the review period for Proposal 048, community member pyggie identified potential improvements to the cToken event logs and public interface; these have been included in this proposal, alongside a bounty of 30 COMP for their efforts.
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0x9AA8...62cCF1 | 344,999 | FOR |
0x6626...15c35c | 126,093 | FOR |
0xAC57...72FaF6 | 105,026 | FOR |
0x8169...539806 | 101,000 | FOR |
0x54A3...61E189 | 100,080 | FOR |
VOTE POWER
Proposal Status
- Published Onchain
0x8169...539806
- Wed June 23 2021, 01:36 amVoting Period Starts
- Sat June 26 2021, 03:31 amEnd Voting Period
- Sat June 26 2021, 06:35 pmQueue Proposal
- Mon June 28 2021, 07:52 pmExecute Proposal
Current Results
1-FOR
1.13M
2-AGAINST
0.001
3-ABSTAIN
N/A Tokens
