Executed

Update and Standardize cToken Implementation


Proposal ID

49

Governor

Compound

Proposed

Jun 21st, 2021

Result details
Final Votes

Quorum

1.13M of 0

Majority support

Yes

For

1.13M

Against

0

Abstain

0

Actions

Type

Address

Details

Custom

0x70e3...E8e4

_setImplementation(..)

Custom

Account

0x70e3...E8e4

Method

_setImplementation(..)

Custom

0x5d3a...3643

_setImplementation(..)

Custom

Account

0x5d3a...3643

Method

_setImplementation(..)

Custom

0xFAce...B0c7

_setImplementation(..)

Custom

Account

0xFAce...B0c7

Method

_setImplementation(..)

Custom

0x1239...Ad86

_setImplementation(..)

Custom

Account

0x1239...Ad86

Method

_setImplementation(..)

Proposal

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.

Discussion

Final Votes

Quorum

1.13M of 0

Majority support

Yes

For

1.13M

Against

0

Abstain

0

Final Votes
Status

Mon Jun 21, 12:12 am

Published onchain

Wed Aug 25, 08:59 am

Voting period started

Sat Aug 28, 02:41 am

Voting period ended

Sat Jun 26, 06:35 pm

Proposal queued

Mon Jun 28, 07:52 pm

Proposal executed