KVORUM
compoundSource: Compound governor alpha · #30

COMP Contributor Grants

executedDec 8, 2020, 02:54 PM UTCby660x6626…c35c

01Summary

AISummary by Kvorumclaude-haiku-4-5

Proposal to add COMP contributor grant functionality to the Comptroller contract, enabling governance to directly send COMP to addresses or stream grants over time. Includes a 1000 COMP grant to the development team to offset costs. Contract will be upgraded and code will be optimized to reduce size.

Type
contract upgrade
Funding
$1000 COMP

Key changes

  • Add _grantComp function enabling governance to send COMP directly to specific addresses(high)
  • Add _setContributorCompSpeed function enabling governance to stream COMP grants to participants over time(high)
  • Remove code from Comptroller to reduce contract size and make room for new functionality(medium)
  • Award 1000 COMP grant to development team to offset development and audit costs(medium)
Contracts0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b0x7d47d3f06A9C10576bc5DC87ceFbf3288F96Ea04
Generated by Kvorum
model: claude-haiku-4-5
provider: anthropic
profile: anthropic-fast-v1
prompt: v1.0
generated: 2mo ago
Read the description ↗

02Description

161 words

COMP Contributor Grants

Summary

The Compound Comptroller contract has a reserve of of over 100,000 COMP and growing. This proposal adds the ability for the Compound protocol to send this COMP to a particular user or group, selected by a governance vote. The functionality has two components:

  1. _grantComp: An ability for Governance to pay a particular amount of COMP to a specific address
  2. _setContributorCompSpeed: An ability for Goverance to stream a grant to a participant. An in-depth description of the changes can be found in this forum post and the linked documents. We're looking forward to continuing the conversation on the forums. Besides adding this functionality, we also:
  3. Remove code from the Comptroller to reduce its size (making room for the changes mentioned above)
  4. Award ourselves a COMP grant (1000 COMP) to offset development and audit costs.

References

03Mismatch analysis

AIMismatch analysis by Kvorumclaude-sonnet-5
Consistent

The proposal describes a two-part change: (1) upgrading the Comptroller to add _grantComp and _setContributorCompSpeed functionality while removing code to reduce contract size, and (2) granting the team 1000 COMP for development/audit costs. The calldata shows exactly this pattern: action 0 sets a pending implementation, action 1 calls _become to finalize the upgrade (the standard Compound upgrade pattern, which would contain the new functions and code reduction mentioned but not individually itemized in calldata since it's bundled in the new implementation contract's bytecode), and action 2 calls _grantComp for 1000 COMP (1000000000000000000000 wei = 1000 * 1e18) to a specific address, matching the described self-grant amount exactly. I cannot verify the internal bytecode of the new implementation contract to confirm it contains exactly the described _setContributorCompSpeed function and code removal, but this is expected and standard for a proxy upgrade — the description accurately summarizes the high-level intent of the upgrade action. The grant amount (1000 COMP) matches precisely. No numeric mismatches, no unexpected recipients, and no omitted major actions are apparent from the decoded calldata. This is a well-matched, straightforward proposal reflecting exactly what it describes: an implementation upgrade plus a token grant.

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

04Actions

3 total
#0_setPendingImplementation(address)chain 0x1
Target
0x3d98…cd3b
Value
0 wei
Function
_setPendingImplementation(address)
Arguments
{
  "0": "0x7d47d3f06A9C10576bc5DC87ceFbf3288F96Ea04"
}
Calldata
#1_become(address)chain 0x1
Target
0x7d47…ea04
Value
0 wei
Function
_become(address)
Arguments
{
  "0": "0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B"
}
Calldata
#2_grantComp(address,uint256)chain 0x1
Target
0x3d98…cd3b
Value
0 wei
Function
_grantComp(address,uint256)
Arguments
{
  "0": "0x6626593C237f530D15aE9980A95ef938Ac15c35c",
  "1": "1000000000000000000000"
}
Calldata

05Tally

Summed from votes

Voters57
VP participating1.2M
Outcome (current)For
Current support100%

06Voters

57 total

No votes recorded yet.

07Forum

AIForum synthesis by Kvorumclaude-haiku-4-5
sentiment · favorablethread · constructive

Arguments for

  • The grant mechanism enables governance to compensate community contributors and developers for work like audits and feature development, removing the barrier of requiring contributions to be made speculatively.— jmo, arr00
  • The proposal establishes an important precedent that larger development projects requiring audits can receive fair compensation, making Compound more attractive to external contributors.— jmo
  • The grant functionality is urgent and necessary to address recent community needs, particularly compensating users affected by the DAI liquidation incident.— jmo

Arguments against

None surfaced.

Unresolved concerns

  • Whether the 1000 COMP price is appropriately justified given ~$50k audit costs and 2 FTE for 3 months of development, and whether community should have demanded more detailed cost breakdown earlier.— arr00
  • The code review process was insufficient; extensive protocol changes should receive at least one week of community review on forums before proposal, not just availability on Github.— arr00
  • The bug in _setContributorCompSpeed (missing else-statement causing wasted gas) should have been caught during community review before proposal submission.— jvaqa, arr00

Notable participants

  • jmoProposer who submitted the grants proposal and defended the payment structure and process decisions.
  • arr00Community member who questioned cost transparency and advocated for stronger pre-proposal community review processes.
  • jvaqaCode reviewer who identified a critical bug in the implementation before execution and advocated for formalized community review periods.
  • tarunCore developer who provided technical information on gas costs and implementation details.
  • peterisCore developer who acknowledged the bug finding and contextualized its urgency and remediation options.
Generated by Kvorum
model: claude-haiku-4-5
provider: anthropic
profile: anthropic-fast-v1
prompt: v1.0
generated: 2mo ago
Open the thread ↗