KVORUM
compoundSource: Compound governor bravo · #238

Initialize cUSDCv3 on Optimism

executedApr 13, 2024, 02:30 PM UTCby3F0x3fb1…4c8a

01Summary

AISummary by Kvorumclaude-haiku-4-5

Compound governance proposes deploying Compound III (cUSDCv3) to the Optimism network. The proposal executes six actions: (1) deploy Comet implementation and set market configuration on Optimism with risk parameters recommended by Gauntlet, and configure COMP rewards at 5 COMP/day for supply and borrow; (2-3) approve and transfer 10,000 USDC from mainnet to Optimism via Circle's CCTP to seed market reserves; (4-5) approve and bridge 3,600 COMP from mainnet to Optimism rewards contract; (6) update ENS registry to include the new Optimism cUSDCv3 market in official markets list.

Type
contract upgrade
Funding
$10000

Key changes

  • Deploy Comet implementation on Optimism and set market configuration with risk parameters for cUSDCv3 market(high)
  • Configure COMP token rewards at 5 COMP/day supply speed and 5 COMP/day borrow speed for Optimism market(high)
  • Transfer 10,000 USDC from mainnet to Optimism via CCTP to establish market reserves(high)
  • Bridge 3,600 COMP from mainnet to Optimism rewards contract to fund incentives(high)
  • Update ENS TXT record to register new Optimism cUSDCv3 market in official markets registry(medium)
Contracts0x2e44e174f7D53F0212823acC11C01A11d58c5bCB0xBd3fa81B58Ba92a82136038B25aDec7066af31550x99C9fc46f92E8a1c0deC1b1747d010903E884bE10x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41
Generated by Kvorum
model: claude-haiku-4-5
provider: anthropic
profile: anthropic-fast-v1
prompt: v1.0
generated: 2mo ago
Read the description ↗

02Description

287 words

Initialize cUSDCv3 on Optimism

Proposal summary

Compound Growth Program [AlphaGrowth] proposes deployment of Compound III to Optimism network. This proposal takes the governance steps recommended and necessary to initialize a Compound III USDC market on Optimism; upon execution, cUSDCv3 will be ready for use. Simulations have confirmed the market’s readiness, as much as possible, using the Comet scenario suite. The new parameters include setting the risk parameters based off of the recommendations from Gauntlet.

Further detailed information can be found on the corresponding deployment pull request, proposal pull request, deploy market GitHub action run and forum discussion.

Proposal Actions

The first proposal action sets the Comet configuration and deploys a new Comet implementation on Optimism. This sends the encoded setConfiguration and deployAndUpgradeTo calls across the bridge to the governance receiver on Optimism. It also calls setRewardConfig on the Optimism rewards contract, to establish Optimism’s bridged version of COMP as the reward token for the deployment and set the initial supply speed to be 5 COMP/day and borrow speed to be 5 COMP/day.

The second action approves Circle’s Cross-Chain Transfer Protocol (CCTP) TokenMessenger to take the Timelock's USDC on Mainnet, in order to seed the market reserves through the CCTP.

The third action deposits and burns 10K USDC from mainnet via depositForBurn function on CCTP’s TokenMessenger contract to mint native USDC to Comet on Optimism.

The fourth action approves Optimism’s L1StandardBridge to take Timelock's COMP, in order to seed the rewards contract through the bridge.

The fifth action deposits 3.6K COMP from mainnet to the Optimism L1StandardBridge contract to bridge to CometRewards.

The sixth action updates the ENS TXT record v3-official-markets on v3-additional-grants.compound-community-licenses.eth, updating the official markets JSON to include the new Optimism cUSDCv3 market

03Mismatch analysis

AIMismatch analysis by Kvorumclaude-sonnet-5
Consistent

I compared each of the six actions described in the proposal narrative against the six decoded on-chain actions in order. Action 0's cross-chain sendMessage contains embedded calldata referencing setConfiguration, deployAndUpgradeTo, and setRewardConfig function signatures, consistent with the description's claim of configuring and upgrading Comet and setting COMP as the reward token (exact reward speed values are embedded in a large ABI-encoded blob and not independently decoded here, but the structure matches the described mechanism). Action 1 approves the CCTP TokenMessenger for exactly 10,000 USDC (10000000000 at 6 decimals), matching the '10K USDC' reserve-seeding claim. Action 2's depositForBurn burns that same 10,000 USDC amount and targets domain 2 (Optimism) with mint recipient matching the new Comet address, consistent with the description. Action 3 approves L1StandardBridge for 3,600,000000000000000000 wei = 3,600 COMP, matching the '3.6K COMP' claim. Action 4 bridges that same COMP amount to the CometRewards address on Optimism, matching the description. Action 5 updates the ENS v3-official-markets TXT record to add the new Optimism USDC market address, matching the description's sixth action. All amounts, targets, and directions align between the prose and the decoded calldata with no unit conversion issues or contradictions found. This is a standard Compound III market deployment proposal and the description accurately and completely reflects the calldata actions.

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

04Actions

6 total
#0sendMessage(address,bytes,uint32)chain 0x1
Target
0x25ac…5fa1
Value
0 wei
Function
sendMessage(address,bytes,uint32)
Arguments
{
  "0": "0xC3a73A70d1577CD5B02da0bA91C0Afc8fA434DAF",
  "1": "0x00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000084e93ec6170ed630f5ebd89a1aae72d4f63f27130000000000000000000000003c30b5a5a04656565686f800481580ac4e7ed178000000000000000000000000443ea0340cb75a160f31a440722dec7b5bc3c2e9000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000e6736574436f6e66696775726174696f6e28616464726573732c28616464726573732c616464726573732c616464726573732c616464726573732c616464726573732c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e7436342c75696e743130342c75696e743130342c75696e743130342c28616464726573732c616464726573732c75696e74382c75696e7436342c75696e7436342c75696e7436342c75696e74313238295b5d2929000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000236465706c6f79416e6455706772616465546f28616464726573732c616464726573732900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020736574526577617264436f6e66696728616464726573732c6164647265737329000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000068000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000002e44e174f7d53f0212823acc11c01a11d58c5bcb0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d98be00b5d27fc98112bde293e487f8d4ca57d070000000000000000000000003ffd6c073a4ba24a113b18c8f373569640916a450000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8500000000000000000000000016a9fa2fda030272ce99b29cf780dfa30361e0f3000000000000000000000000e802a0b833f6080feb46dd54c75444c5dba0c8730000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000d19c2ff9bf8000000000000000000000000000000000000000000000000000283edea298a2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000d8b72d434c80000000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000000000000000000000000000000354a6ba7a180000000000000000000000000000000000000000000000000000853a0d2313c000000000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000d7957c6420000000000000000000000000000000000000000000000000000000d7957c642000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000012309ce5400000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000042000000000000000000000000000000000000420000000000000000000000000d276fc14719f9292d5c1ea2198673d1f426924600000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000905438e6001000000000000000000000000000000000000000000000000000009b6e64a8ec600000000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000943b1377290cbd800000000000000000000000000000420000000000000000000000000000000000000600000000000000000000000013e3ee699d1909e989722e753853ae30b17e08c500000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000b84c09a3b9300000000000000000000000000000000000000000000000000000c7d713b49da00000000000000000000000000000000000000000000000000000d2f13f7789f0000000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000068f180fcce6836688e9084f035309e29bf0a2095000000000000000000000000718a5788b89454aae3a028ae9c111a29be6c2a6f00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000bcbce7f1b1500000000000000000000000000000000000000000000000000000d2f13f7789f00000000000000000000000000000000000000000000000000000000000165a0bc00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000084e93ec6170ed630f5ebd89a1aae72d4f63f27130000000000000000000000002e44e174f7d53f0212823acc11c01a11d58c5bcb00000000000000000000000000000000000000000000000000000000000000400000000000000000000000002e44e174f7d53f0212823acc11c01a11d58c5bcb0000000000000000000000007e7d4467112689329f7e06571ed0e8cbad4910ee",
  "2": "2500000"
}
Calldata
#1approve(address,uint256)chain 0x1
Target
0xa0b8…eb48
Value
0 wei
Function
approve(address,uint256)
Arguments
{
  "0": "0xBd3fa81B58Ba92a82136038B25aDec7066af3155",
  "1": "10000000000"
}
Calldata
#2depositForBurn(uint256,uint32,bytes32,address)chain 0x1
Target
0xbd3f…3155
Value
0 wei
Function
depositForBurn(uint256,uint32,bytes32,address)
Arguments
{
  "0": "10000000000",
  "1": "2",
  "2": "0x0000000000000000000000002e44e174f7d53f0212823acc11c01a11d58c5bcb",
  "3": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
Calldata
#3approve(address,uint256)chain 0x1
Target
0xc00e…6888
Value
0 wei
Function
approve(address,uint256)
Arguments
{
  "0": "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",
  "1": "3600000000000000000000"
}
Calldata
#4depositERC20To(address,address,address,uint256,uint32,bytes)chain 0x1
Target
0x99c9…4be1
Value
0 wei
Function
depositERC20To(address,address,address,uint256,uint32,bytes)
Arguments
{
  "0": "0xc00e94Cb662C3520282E6f5717214004A7f26888",
  "1": "0x7e7d4467112689329f7E06571eD0E8CbAd4910eE",
  "2": "0x443EA0340cb75a160F31A440722dec7b5bc3C2E9",
  "3": "3600000000000000000000",
  "4": "200000",
  "5": "0x"
}
Calldata
#5setText(bytes32,string,string)chain 0x1
Target
0x4976…ba41
Value
0 wei
Function
setText(bytes32,string,string)
Arguments
{
  "0": "0x7dcf87198fd673716e5a32b206d9379c4fcbad8875073f52bfd0656759bf89ed",
  "1": "v3-official-markets",
  "2": "{\"1\":[{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0xc3d688B66703497DAA19211EEdff47f25384cdc3\"},{\"baseSymbol\":\"WETH\",\"cometAddress\":\"0xA17581A9E3356d9A858b789D68B4d866e593aE94\"}],\"10\":[{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0x2e44e174f7D53F0212823acC11C01A11d58c5bCB\"}],\"137\":[{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0xF25212E676D1F7F89Cd72fFEe66158f541246445\"}],\"8453\":[{\"baseSymbol\":\"USDbC\",\"cometAddress\":\"0x9c4ec768c28520B50860ea7a15bd7213a9fF58bf\"},{\"baseSymbol\":\"WETH\",\"cometAddress\":\"0x46e6b214b524310239732D51387075E0e70970bf\"},{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0xb125E6687d4313864e53df431d5425969c15Eb2F\"}],\"42161\":[{\"baseSymbol\":\"USDC.e\",\"cometAddress\":\"0xA5EDBDD9646f8dFF606d7448e414884C7d905dCA\"},{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0x9c4ec768c28520B50860ea7a15bd7213a9fF58bf\"}],\"534352\":[{\"baseSymbol\":\"USDC\",\"cometAddress\":\"0xB2f97c1Bd3bf02f5e74d13f02E3e26F93D77CE44\"}]}"
}
Calldata

05Tally

Summed from votes

Voters21
VP participating776.6K
Outcome (current)For
Current support100%

06Voters

21 total

No votes recorded yet.

07Forum

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

Arguments for

  • Optimism is a top L2 with substantial TVL ($775M), activity, and liquidity that makes it an attractive deployment target for Compound V3.— sharp, pennblockchain, Pasha
  • Deploying Compound on Optimism will reduce transaction costs and increase efficiency for users while positioning Compound competitively in the DeFi landscape.— sharp, pennblockchain
  • USDT has massive liquidity on Optimism that dwarfs USDC, making it a natural base asset for the initial market.— Pasha
  • Optimism's funding mechanisms, including Optimism Grants and Retroactive Public Goods Funding, provide opportunities for Compound to secure incentives to promote activity.— sharp
  • The Compound Growth Program's $23,800 developer fund enables completion of this deployment without requiring CGP funding.— sharp
  • Gauntlet's risk parameter recommendations and incentive structures are designed to accelerate market adoption with competitive APRs.— Gauntlet
  • The deployment has passed security audits by OpenZeppelin with no critical issues identified.— jbass-oz

Arguments against

None surfaced.

Unresolved concerns

  • LIDO and LINK have very low liquidity on Optimism ($1.8M and $7.2M respectively) and may not be suitable as collateral assets initially.— kevin
  • The OP sequencer is currently centralized, creating a potential single point of failure despite mechanisms to bypass it.— sharp
  • The fault proof system on Optimism is still at Stage 0, meaning L2 state verification is not yet fully decentralized.— sharp
  • The BridgeReceiver contract can be initialized by any address in different transaction contexts, creating a deployment verification risk.— jbass-oz
  • Potential concurrent governance proposals could overwrite ENS record changes made by the USDT proposal.— jbass-oz

Notable participants

  • sharpCo-author and point of contact for the proposal from the Compound Growth Program.
  • bryancolliganCo-author and point of contact for the proposal from the Compound Growth Program.
  • PashaLead developer from Bergman Software who built the technical implementation and pushed deployment code.
  • GauntletRisk analyst who provided comprehensive parameter recommendations for collateral, IR curves, and COMP incentive structures.
  • jbass-ozOpenZeppelin auditor who conducted security reviews of deployment scripts and governance proposals.
  • kevinCommunity member who identified liquidity concerns with proposed collateral assets.
  • dmitriywoofsoftwareDeveloper who shepherded the on-chain proposals through governance and execution pipeline.
  • pennblockchainCommunity supporter who expressed confidence in the deployment's growth potential.
  • 0xajsDelegate who publicly indicated support for the USDT proposal.
Generated by Kvorum
model: claude-haiku-4-5
provider: anthropic
profile: anthropic-fast-v1
prompt: v1.0
generated: 2mo ago
Open the thread ↗