Compound¶
Introduction¶
Compound is a decentralized money market protocol built on Ethereum that allows users to deposit crypto assets to earn interest or borrow assets against collateral. As one of the pioneering projects in DeFi (Decentralized Finance), Compound uses algorithms to automatically adjust interest rates, creating an efficient lending market for on-chain assets.
Compound was founded by Robert Leshner in 2018 and officially launched on the Ethereum mainnet in 2019. The protocol's core innovations include the liquidity pool model and the cToken mechanism, which enable lending and borrowing without peer-to-peer matching -- funds can be deposited and withdrawn instantly, with rates determined automatically by market supply and demand.
In 2020, Compound launched the COMP governance token, pioneering "liquidity mining" and directly igniting DeFi Summer. This innovative model was replicated by numerous subsequent projects and profoundly changed the trajectory of the DeFi industry.
Core Features¶
1. Liquidity Pool Model¶
Users deposit assets into a shared liquidity pool rather than matching with specific borrowers. This enables: - Depositors to withdraw funds at any time (as long as sufficient liquidity exists in the pool) - Borrowers to instantly borrow assets without waiting for matching - Interest rates to be automatically determined by pool supply and demand
2. cToken Mechanism¶
Depositors receive corresponding cTokens upon deposit (e.g., depositing ETH yields cETH). These tokens: - Represent the user's share of deposits in the protocol - Automatically appreciate (the exchange rate continuously increases), reflecting accumulated interest - Can be transferred, traded, and used in other DeFi protocols - Are redeemed at the current exchange rate for the underlying asset
3. Algorithmic Interest Rate Model¶
Interest rates are automatically adjusted based on the utilization rate:
Interest Rate = Base Rate + (Utilization Rate x Rate Slope)
Utilization Rate = Amount Borrowed / Total Deposits
4. Collateralized Borrowing¶
Users must over-collateralize to borrow: - Each asset has a different collateral factor, typically 50-75% - For example, depositing $100 worth of ETH (collateral factor 75%) allows borrowing up to $75 of other assets - Liquidation is triggered when collateral value drops and borrowing exceeds the limit
5. Automated Liquidation Mechanism¶
When a user's borrowed value exceeds the maximum allowed by their collateral: - Anyone can repay a portion of the borrower's debt on their behalf - Liquidators receive a discount on the collateral (typically 5-10%) - This incentive mechanism ensures the protocol's solvency
6. Decentralized Governance¶
COMP token holders can: - Submit protocol improvement proposals - Vote on which assets to support - Adjust risk parameters and interest rate models - Manage protocol reserves
Core Advantages¶
1. Simplicity and Efficiency¶
Compound's code is relatively concise and has undergone multiple audits, resulting in high security. Compared to later competitors, its design prioritizes robustness over feature complexity.
2. Capital Efficiency¶
The liquidity pool model is more efficient than peer-to-peer lending, with better capital utilization.
3. Permissionless¶
Anyone can deposit, borrow, or liquidate without registration or KYC.
4. Composability¶
cTokens can be used as collateral or liquidity sources in other DeFi protocols, forming "money legos."
5. Transparency¶
All rates, lending data, and governance decisions are publicly transparent on-chain.
6. Time-Tested¶
As one of the earliest DeFi protocols, Compound has been running for years and has endured multiple market cycles.
Development History¶
Founding Phase (2018)¶
- Compound Labs established, seed round funding completed
- Development of decentralized lending protocol began
- Smart contract development and audits completed
V1 Launch (Early 2019)¶
- Protocol officially deployed on Ethereum mainnet
- Supported a small number of assets including ETH, DAI, and USDC
- Operated under centralized governance model
V2 Upgrade (May 2019)¶
- Introduced cToken mechanism, improved user experience
- Enhanced interest rate model, improved capital efficiency
- Expanded support for more asset types
DeFi Summer (June 2020)¶
- Released COMP governance token
- Pioneered liquidity mining, igniting the DeFi boom
- TVL (Total Value Locked) surged from tens of millions to billions of dollars
- Established DeFi leadership position
Decentralized Governance (H2 2020)¶
- Admin keys transferred to Timelock contract
- Protocol upgrades implemented through community proposals
- COMP holders began leading governance decisions
Steady Development (2021-2022)¶
- Optimized liquidation mechanisms to handle extreme market volatility
- Added support for new assets
- Faced competition from Aave and other competitors
- Explored cross-chain deployment possibilities
Compound III (August 2022)¶
- Launched a new version targeting institutions and advanced users
- Optimized capital efficiency and risk management
- Introduced independent lending markets (one borrowable asset per market)
Ecosystem Evolution (2023-2024)¶
- Compound III matured, attracting more users
- Explored Layer 2 deployment to reduce gas costs
- Partnered with RWA (Real-World Asset) projects
- Continued optimizing governance processes and risk models
Core Products¶
Compound V2 (Legacy Version)¶
- Unified lending market supporting multiple assets
- Any collateral can borrow any asset
- More decentralized and permissionless
- Suitable for regular users and small transactions
Compound III (Comet)¶
- Each market has only one borrowable asset (typically stablecoins like USDC)
- Higher capital efficiency and borrowing limits
- Improved risk isolation mechanisms
- Better suited for institutional users and large transactions
Compound Gateway (Enterprise Version)¶
- Wrapped version for institutions and enterprises
- More user-friendly UI/UX
- May include compliance and reporting features
Economic Model¶
COMP Token¶
- Total Supply: 10,000,000 tokens
- Distribution:
- 42.3% User liquidity mining (4-year linear release)
- 24% Founding team and employees (4-year vesting)
- 23.96% Investors (4-year vesting)
- 7.75% Future team members
- 2.26% Community reserve
Governance Rights¶
- 1 COMP = 1 vote
- Proposals require at least 25,000 COMP to initiate
- Proposals require 400,000 votes to pass
Liquidity Mining¶
Users earn COMP rewards based on their participation through deposits or borrowing, incentivizing protocol usage and growth.
Use Cases¶
1. Passive Yield¶
Deposit stablecoins or assets like ETH to earn deposit interest and COMP mining rewards.
2. Leveraged Trading¶
Borrow assets for investment or trading to amplify returns (while also amplifying risk).
3. Short Selling Strategy¶
Borrow an asset and sell it; buy back at a lower price after it declines to pocket the difference.
4. Liquidity Management¶
DeFi protocols and institutions use Compound as a venue for short-term fund placement or borrowing.
5. Recursive Borrowing¶
Deposit asset A to borrow asset B, then deposit B to borrow more A, improving capital efficiency (but increasing liquidation risk).
Risks and Challenges¶
1. Smart Contract Risk¶
Despite multiple audits, potential code vulnerabilities still exist.
2. Liquidation Risk¶
Severe market volatility may cause user collateral to be liquidated, resulting in losses.
3. Interest Rate Volatility¶
Rates are determined by the market and may fluctuate significantly, affecting yields and costs.
4. Liquidity Risk¶
In extreme cases, insufficient pool liquidity may prevent timely withdrawal of deposits.
5. Oracle Risk¶
Asset prices depend on oracles like Chainlink; oracle failures could cause system anomalies.
6. Governance Attacks¶
If a party accumulates enough COMP tokens, they could pass malicious proposals to harm the protocol.
Competitive Landscape¶
Major Competitors¶
- Aave: More feature-rich, supporting flash loans, stable rates, and other advanced features
- MakerDAO: Focused on DAI stablecoin generation, a different business model
- Euler Finance: Innovative risk tiering and permissioned listing mechanism
- Venus (BSC): A Compound fork on BNB Smart Chain
- Moonwell (Moonbeam): Lending protocol in the Polkadot ecosystem
Compound's Competitive Advantages¶
- One of the earliest DeFi lending protocols with high brand recognition
- Concise and robust code, security proven over time
- Mature governance, active community
- Compound III's capital efficiency advantages
Challenges Faced¶
- Aave has surpassed Compound in TVL and market share
- Relatively simple features, lacking innovations like flash loans
- High gas fees impact the experience for small users
- Cross-chain deployment progress lags behind competitors
Best Practices¶
For Depositors¶
- Choose high-demand assets for higher rates
- Monitor COMP mining yields to optimize overall returns
- Diversify risk; do not deposit all funds in a single protocol
For Borrowers¶
- Maintain sufficient collateral ratio buffer to avoid liquidation
- Monitor rate changes; consider repaying during high rates
- Understand the differences in collateral factors across assets
For Liquidators¶
- Run bots to monitor accounts with low health factors
- Prepare sufficient funds and gas for rapid liquidation
- Understand the liquidation reward mechanics and profit margins
Future Outlook¶
Layer 2 Expansion¶
Deploy to Layer 2 networks such as Arbitrum and Optimism to reduce transaction costs and improve user experience.
Institutionalization¶
Attract more institutional capital into DeFi through Compound III and enterprise versions.
RWA Integration¶
Support tokenization of real-world assets to expand the protocol's asset range and influence.
Cross-Chain Deployment¶
Explore deployment on other chains (such as Solana, Cosmos) to expand the user base.
Governance Optimization¶
Improve the proposal process, increase decision-making efficiency, and enhance community participation.