KVORUM
compoundSource: Compound governor alpha · #11

COMP Distribution Patch

executedJun 30, 2020, 06:37 PM UTCby810x8169…9806

01Summary

AISummary by Kvorumclaude-haiku-4-5

This proposal upgrades the Comptroller contract with a patched refreshCompSpeeds function that changes how COMP tokens are distributed across markets. The new allocation removes borrowing interest rate as a weighting factor and instead allocates COMP based on borrowing demand, split equally between suppliers and borrowers. The function now requires external accounts rather than smart contracts to reduce griefing risks.

Type
contract upgrade

Key changes

  • Modify refreshCompSpeeds function to remove borrowing interest rate as weighting mechanism for COMP allocation(high)
  • Change COMP allocation to be based on borrowing demand with equal split between suppliers and borrowers(high)
  • Require external accounts instead of smart contracts for refreshCompSpeeds calls to reduce griefing risk(medium)
  • Deploy new Comptroller implementation contract(high)

Notable concerns

  • Patch has not been reviewed by professional auditors due to limited scope of changes
  • Changes affect core COMP distribution mechanism across all markets
Contracts0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b0xAf601CbFF871d0BE62D18F79C31e387c76fa0374
Generated by Kvorum
model: claude-haiku-4-5
provider: anthropic
profile: anthropic-fast-v1
prompt: v1.0
generated: 2mo ago
Read the description ↗

02Description

110 words

COMP Distribution Patch

This proposal implements a new Comptroller contract, patching the refreshCompSpeeds function.

It modifies the allocation of COMP across markets, by removing the borrowing interest rate as a weighting mechanism. Each market is allocated COMP relative to borrowing demand; the allocation is then split equally between suppliers and borrowers.

The function has also been updated to require an external account (not a smart contract), reducing the risk of griefing.

This patch has been discussed and developed in the open, reviewed by members of the community, and tested on Ethereum’s Kovan and Ropsten testnets. Given the limited scope of changes, it has not been reviewed by professional auditors.

03Mismatch analysis

AIMismatch analysis by Kvorumclaude-sonnet-5
Consistent

The description states that this proposal deploys a new Comptroller implementation to patch the refreshCompSpeeds function and change COMP allocation logic. The decoded calldata contains exactly the two actions expected for a standard Compound protocol upgrade: (1) _setPendingImplementation on the existing Unitroller pointing to the new implementation address, and (2) _become called on that new implementation, which is the standard two-step proxy upgrade pattern used by Compound governance. Both actions target the correct, matching addresses (the Unitroller and the new implementation reference each other consistently across both calls), and no unrelated transfers, role grants, or parameter changes are present. The specific internal logic changes to refreshCompSpeeds (removing interest-rate weighting, equal supplier/borrower split, EOA-only caller requirement) are implemented inside the new contract's bytecode and are not separately visible in the calldata, which is expected and normal for this type of upgrade proposal — the proposal description accurately summarizes what an implementation-upgrade of this kind entails. There are no numeric parameters, target mismatches, or omitted/extra actions to flag.'

Generated by Kvorum
model: claude-sonnet-5
provider: anthropic
profile: anthropic-strong-v1
prompt: v1.0
generated: 2mo ago
Review the decoded actions ↗

04Actions

2 total
#0_setPendingImplementation(address)chain 0x1
Target
0x3d98…cd3b
Value
0 wei
Function
_setPendingImplementation(address)
Arguments
{
  "0": "0xAf601CbFF871d0BE62D18F79C31e387c76fa0374"
}
Calldata
#1_become(address)chain 0x1
Target
0xaf60…0374
Value
0 wei
Function
_become(address)
Arguments
{
  "0": "0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B"
}
Calldata

05Tally

Summed from votes

Voters115
VP participating771.8K
Outcome (current)For
Current support100%

06Voters

115 total
Filter:
VoterChoice% of totalRationale
A10xa1b6…0241For111.1K14.39%—6y ago
5B0x5b97…66c2For100K12.96%—6y ago
540x54a3…e189For100K12.96%—6y ago
7E0x7e4a…19faFor100K12.96%—6y ago
E50xe5a5…beb9For65K8.42%—6y ago
5D0x5d89…9e68For61K7.91%—6y ago
1D0x1d29…5d1fFor50K6.48%—6y ago
500x5049…e004For31.7K4.11%—6y ago
D00xd061…1fb1For28K3.63%—6y ago
2F0x2fd6…ba43For25K3.24%—6y ago
8E0x8e97…2bffFor17.5K2.27%—6y ago
980x98ea…4cd7For15K1.94%—6y ago
E50xe5b5…4b03For15K1.94%—6y ago
CF0xcfae…135aFor10.2K1.32%—6y ago
BAbanked.eth0xfdaa…3733For10K1.30%—6y ago
A80xa8c6…3985For10K1.30%—6y ago
TEtennisbowling.eth0xc3aa…f546For5K0.65%—6y ago
DAdakeshi.eth0xe3c9…6b21For5K0.65%—6y ago
B80xb8a6…6406For5K0.65%—6y ago
8F0x8fe1…572dFor4.7K0.61%—6y ago
610x6161…7866For1.1K0.14%—6y ago
960x9695…893eFor1K0.13%—6y ago
H0h0neybad9er.eth0x26a2…4cbeFor108.50.01%—6y ago
9A0x9af9…3388For41.10.01%—6y ago
7F0x7f84…4d0bFor22.20.00%—6y ago
ED0xed69…533bFor14.40.00%—6y ago
ED0xed76…a987For13.70.00%—6y ago
AB0xabe4…5fcdFor130.00%—6y ago
870x8788…44c4For12.60.00%—6y ago
860x8692…168dFor120.00%—6y ago
MAmaruman.eth0x371d…0f1eFor9.10.00%—6y ago
1F0x1f2d…ea7cFor8.40.00%—6y ago
890x897e…c2dcFor7.80.00%—6y ago
670x67f3…9d8eFor5.60.00%—6y ago
7D0x7de0…a044For5.40.00%—6y ago
850x8590…4e0eFor50.00%—6y ago
9F0x9f8d…a147For4.70.00%—6y ago
AC0xac23…ccfeFor4.20.00%—6y ago
5B0x5b0c…3540For3.40.00%—6y ago
E20xe21a…cc1fFor30.00%—6y ago
A60xa656…c544For1.40.00%—6y ago
D60xd6b5…2c36For1.40.00%—6y ago
EF0xef5a…b924For1.30.00%—6y ago
EA0xea16…a9f0For1.20.00%—6y ago
610x61b7…d1e0For1.20.00%—6y ago
AF0xaf9e…61d8For1.20.00%—6y ago
1B0x1b88…77a5For1.20.00%—6y ago
900x905d…76c5For1.10.00%—6y ago
A70xa73e…6c0bFor1.10.00%—6y ago
C60xc6ed…6ff0For10.00%—6y ago
Showing 50

07Forum

No forum thread is confidently linked to this proposal.