Compound (COMP)COMP
Compound is a lending protocol on Ethereum where users supply crypto to earn interest and borrow against collateral; COMP is its governance token, with a fixed supply of 10 million, used to propose and vote on changes to the protocol.
Compound was one of the first DeFi money markets: smart contracts pool deposits, set interest rates from supply and demand, and liquidate loans that are no longer covered by collateral. Its COMP token, launched in 2020, gave users a vote over the protocol and helped start the "yield farming" wave when it was handed out to lenders and borrowers. This page explains how the lending works, what COMP does and where the risks lie.
- Category
- Cryptocurrencies
- Reading time
- 6 min
- Also called
- COMP, Compound Finance, Compound Protocol
- Updated
Compound in plain words
In Compound v2, depositors receive cTokens, ERC-20 tokens that track their share of a market and can be redeemed for the underlying asset plus interest.1 Each market has an interest rate model that adjusts rates as the ratio of borrowed to supplied assets changes.1
To borrow, you post Collateral. Each asset has a collateral factor of 0–90%, the share of its value you can borrow against; if debts exceed that limit, the account can be liquidated.2
COMP is an ERC-20 governance token. Holders can vote themselves or delegate their votes to another address.3
A short history of Compound
Founding and funding
Compound was founded by Robert Leshner and Geoffrey Hayes and raised funding rounds in 2018 and 2019.4
Whitepaper (2019)
The v2 protocol is based on the Compound whitepaper of 2019, and its code is open source.1
COMP unveiled (2020)
Compound unveiled COMP in February 2020 and the token went live in mid-April 2020, with some tokens first given to company stakeholders.5
User distribution begins (June 2020)
From 15 June 2020, about 2,880 COMP a day went to users of eight markets, part of a plan to hand 42% of supply to users over four years.5
Distribution bug (September 2021)
An upgrade under Proposal 62 contained a bug that let some users claim far too much COMP; the worst case was put at 280,000 COMP, and any fix needed a 7-day governance process.6
Compound III
Compound III uses a single borrowable base asset per market; its first deployment was on Ethereum with USDC as the base asset.7
Worked examples
Example 1 — Borrow limit and shortfall
−$375 shortfallYou supply $10,000 of ETH in a market with a hypothetical collateral factor of 75% and borrow $6,000. ETH then falls 25%.
| Borrow limit | $10,000 × 0.75 = $7,500 |
| Liquidity left | $7,500 − $6,000 = $1,500 |
| Collateral after the fall | $10,000 × (1 − 0.25) = $7,500 of ETH |
| New borrow limit | $7,500 × 0.75 = $5,625 |
| Shortfall | $5,625 − $6,000 = −$375 |
Account liquidity is collateral times collateral factor, minus borrowing; a negative result is a shortfall, and the account can then be liquidated.2
Example 2 — How a liquidation is shared
$52 bonusA liquidator repays $1,000 of an under-collateralised loan. Use the documented example of a 1.08 liquidation incentive, with 2.8% going to reserves.
| Collateral seized | $1,000 × 1.08 = $1,080 |
| To protocol reserves | $1,000 × 0.028 = $28 |
| To the liquidator | $1,080 − $28 = $1,052 |
| Liquidator's bonus | $1,052 − $1,000 = $52 |
The Comptroller documentation uses this example, in which the liquidator gets an extra 5.2% and 2.8% goes to cToken reserves; live values are set on-chain.2
Example 3 — The 2020 user distribution
≈ 4 yearsCOMP has a fixed supply of 10,000,000. 42% was set aside for users, distributed at about 2,880 COMP a day.
| Users' allocation | 10,000,000 × 42% = 4,200,000 COMP |
| Per year | 2,880 × 365 = 1,051,200 COMP |
| Time to distribute | 4,200,000 ÷ 2,880 ≈ 1,458 days ≈ 4 years |
The token contract fixes total supply at 10 million COMP.8 The 42% share, the daily rate and the four-year plan come from the 2020 launch.5
Compound vs. Aave
Both are overcollateralised lending protocols with governance tokens; the details differ.
| Aspect | Compound (COMP) | Aave (AAVE) |
|---|---|---|
| Deposit receipt | cTokens (v2) | aTokens |
| Token supply | Fixed at 10 million in the contract | Set at 16 million at the 2020 migration |
| Risk measure | Account liquidity and shortfall | Health factor |
| Token's main role | Proposals, voting and delegation | Voting, delegation and Safety Module staking |
| Newest design | Compound III: one borrowable base asset per market | Aave V4: hub-and-spoke design |
What COMP is used for
Governance
Creating proposals and voting on changes such as new markets and risk settings.3
Delegation
Assigning voting power to a delegate without moving the tokens.3
Incentive rewards
COMP has been paid to suppliers and borrowers, claimable at any time.2
Trading
COMP trades as an ERC-20 token on centralised and decentralised exchanges.
Advantages and disadvantages
Advantages
Disadvantages
- Smart contract bugs can misdirect funds, as the 2021 COMP distribution bug showed.6
- Fixes go through the governance process, which can take a week.6
- Borrowers can be liquidated quickly when collateral prices fall.2
- Creating a proposal needs 25,000 delegated COMP, so agenda-setting rests with large holders and delegates.3
Going deeper
Read as far as you need. Each level builds on the one before it.
Lend, borrow, vote
Beginner
How a proposal passes
Intermediate
Compound III design
Advanced
In Compound III, users supply collateral to borrow the base asset, and those who supply the base asset earn interest.7 Collateral itself earns no interest, and each collateral asset has a borrow collateral factor, such as 85% in the documentation's WBTC example.9
In v2, cTokens have 8 decimals and accrue interest whenever a market is touched; the docs estimate APY assuming 7,200 blocks a day.1 See Decentralised Finance (DeFi) and Total Value Locked.
Common mistakes
Borrowing up to the limit
A small fall in collateral turns available liquidity into a shortfall and invites liquidation.
Expecting Compound III collateral to earn interest
Only the base asset earns supply interest; collateral does not.
Thinking you need COMP to use Compound
Supplying and borrowing work without holding COMP; the token is for governance.
Ignoring governance delays
Even urgent fixes pass through review, voting and a timelock.
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- Compound is an Ethereum lending protocol with pooled markets and algorithmic interest rates.
- Borrowing is limited by collateral factors; a shortfall allows liquidation.
- COMP is a governance token with a fixed supply of 10 million.
- Proposals need 25,000 delegated COMP to create and 400,000 votes in favour to pass.
- Smart contract bugs, liquidations and slow fixes are the main risks.
Frequently asked questions
How many COMP tokens exist?
What is a cToken?
Can someone stop the protocol?
Further learning
- Aave (AAVE)
The closest peer lending protocol.
- Governance Tokens and Proposals
How tokens like COMP give voting power.
- Liquidation
What happens when collateral no longer covers a loan.
- Decentralised Finance (DeFi)
The wider world Compound helped start.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- Compound Docs. Compound v2 documentation: cTokens and interest rates (opens in a new tab) Checked .
- Compound Docs. Compound v2 Comptroller (opens in a new tab) Checked .
- Compound Docs. Compound v2 governance (opens in a new tab) Checked .
- Kraken Learn. What is Compound (COMP)? (opens in a new tab) Checked .
- The Block. Compound governance token begins its first day of trading (opens in a new tab) Checked .
- The Block. Compound bug leaves $80 million in COMP at risk of being misrewarded (opens in a new tab) Checked .
- Compound Docs. Compound III documentation (opens in a new tab) Checked .
- Compound (GitHub). Comp.sol: the COMP token contract (opens in a new tab) Checked .
- Compound Docs. Compound III collateral and borrowing (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.