| Authors | Leshner, Robert; Myers, Geoffrey |
|---|---|
| Year | 2019 |
| Project | Compound |
| License | BSD 3-Clause |
| Official Source | https://compound.finance/documents/Compound.Whitepaper.pdf |
This page is an educational summary and analysis of an official whitepaper or technical paper, written for reference purposes. It is not a verbatim reproduction. CryptoGloss does not claim authorship of the original work. All intellectual property rights remain with the original author(s). The official document is linked above.
“Compound: The Money Market Protocol” is the whitepaper by Robert Leshner and Geoffrey Myers of Compound Labs, published in February 2019. It describes Compound Finance — an Ethereum smart contract protocol implementing pooled lending markets where interest rates are set algorithmically based on real-time supply and demand. Compound was the first major DeFi lending protocol to operate entirely on-chain without any off-chain components.
Compound launched in September 2018, predating Aave v1, and introduced the cToken (e.g., cETH, cDAI) — an interest-bearing receipt token that accumulates value automatically. In June 2020, Compound launched the COMP governance token and began “liquidity mining” — distributing COMP to protocol users as rewards — which triggered the “DeFi Summer” boom of 2020.
> PDF hosting: The Compound whitepaper is at compound.finance/documents/Compound.Whitepaper.pdf.
Publication and Context
Robert Leshner had a background in economics (UPenn) and finance before starting Compound Labs. The key insight was that Ethereum’s composability — smart contracts calling other smart contracts — made it possible to build a money market entirely on-chain: no bank, no credit check, no counterparty relationship.
Compound’s design choices were:
- Pool-based: Not P2P matching. All lenders supply to one pool; all borrowers draw from one pool
- Algorithmic rates: No human sets rates; the utilization ratio formula sets them automatically
- Tokenized positions: cTokens represent deposits; they’re transferable and composable
- Over-collateralized borrowing only: No credit risk; instead, excess collateral
Core Mechanism: cTokens
When a user supplies assets to Compound, they receive cTokens:
- Deposit 100 ETH → receive X cETH (where X depends on the current exchange rate)
- The cETH/ETH exchange rate increases over time as borrowers pay interest
- Redeem cETH → receive original ETH + accumulated interest
Exchange rate formula:
$$text{exchangeRate} = frac{text{underlying balance} + text{total borrows} – text{total reserves}}{text{cToken supply}}$$
This exchange rate only ever increases. cTokens are fully composable ERC-20 tokens — you can transfer them, use them in other protocols, or collateralize them.
Interest Rate Model
Compound’s interest rate model links borrowing rates to utilization:
$$text{utilizationRate} = frac{text{total borrows}}{text{total cash} + text{total borrows} – text{reserves}}$$
Supply rate and borrow rate are functions of utilization:
- Low utilization (< optimal): Low borrow rates (cheap to borrow) → encourages borrowing
- High utilization (> optimal): Steep rate increase → discourages over-borrowing and protects liquidity
JumpRateModel: In 2020, Compound upgraded to a “jump” model: below optimal (e.g., 80%), rates rise linearly; above optimal, rates jump sharply. This is similar to Aave’s kinked rate curve.
Collateral Factor and Liquidations
Each asset has a Collateral Factor (0 to 1; e.g., ETH = 0.75 meaning you can borrow up to 75% of your ETH’s value):
Account liquidity is checked before any borrow:
$$text{liquidity} = sum(text{collateral}_i times text{collateralFactor}_i) – text{total borrows value}$$
If liquidity becomes negative (undercollateralized), any user can liquidate: they repay part of the borrower’s debt and receive the borrower’s collateral at a liquidation incentive (bonus, e.g., 8%) over the market price.
COMP Token and Governance
In June 2020, Compound launched the COMP governance token and began distributing it to protocol users (both suppliers and borrowers) pro-rata based on their activity. This was the first major “liquidity mining” program.
COMP governance allows holders to:
- Propose protocol upgrades (new assets, interest rate model changes, parameter updates)
- Vote on proposals (2-day voting period)
- Timelocked execution (48-hour delay after passing)
The COMP launch triggered “DeFi Summer 2020” — the yield farming craze where users flooded into DeFi protocols to earn governance tokens, briefly making Compound the largest DeFi protocol by TVL.
Comptroller
The Comptroller is Compound’s risk management contract. It:
- Tracks all markets (supported assets)
- Enforces collateral factors
- Handles liquidation eligibility checks
- Distributes COMP rewards
- Acts as a gatekeeper for cross-market interactions
The Comptroller is upgradeable via governance, meaning COMP holders control protocol risk parameters.
Reality Check
Compound had several incidents over its history:
- October 2021: A governance upgrade introduced a bug that distributed $80M in excess COMP tokens. The bug was immutable once deployed (Compound’s upgrade process requires governance voting). Leshner’s public request for users to return COMP (“or the IRS will come for you”) sparked controversy.
- Compound v3 (Comet): A 2022 redesign of the system supporting only one borrowable asset per market — a simpler, more gas-efficient architecture with better parameterization.
Despite DeFi Summer hype, COMP token distribution was concentrated early — the largest recipients were Compound Labs insiders and early investors, not retail users.
Legacy
Compound set the template for DeFi money markets: cToken receipt tokens, algorithmic interest rates, governance tokens as protocol shares. Nearly every DeFi lending protocol that followed (Aave, Euler, BENQI, Radiant) adopted the core Compound architecture. Liquidity mining as a user acquisition strategy — pioneered by Compound’s COMP distribution — became ubiquitous and controversial in DeFi.
Related Terms
Research
- Leshner, R., & Myers, G. (2019). Compound: The Money Market Protocol. compound.finance.
— Primary source. Section 2 (cToken exchange rate), Section 3 (interest rate), Section 4 (liquidations) are the core mechanisms.
- Perez, D., & Livshits, B. (2021). Liquidations: DeFi on a Knife-edge. FC 2021.
— Analysis of Compound liquidation dynamics; cascading liquidation risks.
- Wang, T., & Aste, T. (2022). Volatility and DeFi Lending Risks. arXiv:2205.11094.
— Statistical analysis of Compound and Aave interest rate dynamics under market stress.