Compound · DeFi

On this page 8

Compound is a decentralized lending protocol on Ethereum in which users supply crypto assets to shared money markets and borrow other assets against overcollateralized deposits, with interest rates set by an algorithm rather than by a lender. In DeFi, Compound is one of the founding crypto lending platforms: it introduced interest-bearing cTokens, a utilization-based rate model and, in 2020, the COMP governance token whose distribution started the yield farming wave.

The protocol has no loan officers, credit checks or fixed terms. Every rule, from collateral factors to liquidation incentives, lives in smart contracts that the Compound DAO can change only through on-chain governance votes.

How Compound money markets work

Compound pools the deposits of all suppliers of one asset into a single money market, and borrowers draw from that pool instead of from any specific lender. Because funds are pooled, suppliers can withdraw at any time as long as enough unborrowed liquidity remains in the market.

In Compound v2, a deposit mints cTokens such as cUSDC or cETH. The cToken balance stays constant while the exchange rate between cToken and the underlying asset rises every block, so interest accrues by making each cToken redeemable for more of the underlying asset. Compound III, also called Comet, released in 2022, replaced this design with a single borrowable base asset per deployment, usually USDC, and collateral assets that do not earn interest.

The following table compares the two main protocol generations and the design choices that separate them.

FeatureCompound v2Compound III (Comet)
Borrowable assetsEvery listed assetOne base asset per market
Supplier receiptcTokens with rising exchange rateRebasing base balance
Collateral yieldCollateral also earns interestCollateral earns no interest
Risk isolationShared pool across all assetsEach deployment isolated
Liquidation styleLiquidator repays part of the debtProtocol absorbs, then sells collateral
Compound v2 compared with Compound III

Interest rates and the utilization curve

Compound sets borrowing and supply rates from utilization, the share of supplied assets that is currently borrowed. When utilization is low, rates stay low to attract borrowers; when utilization rises, rates climb to attract new supply and discourage further borrowing.

Most markets use a jump rate model with a kink, typically placed between 80% and 90% utilization. Below the kink the borrow rate rises gently; above it the slope becomes steep so that suppliers are never trapped in a fully borrowed pool. The supply rate equals the borrow rate multiplied by utilization, minus the reserve factor that the protocol keeps as a buffer against bad debt.

The parameters below are set per market by governance, and typical values vary with the volatility and liquidity of each asset.

ParameterTypical rangeWhat it controls
Collateral factor0% to about 85%Share of collateral value that can be borrowed
Liquidation incentiveAbout 5% to 10%Discount paid to liquidators
Reserve factorAbout 5% to 25%Share of interest kept as reserves
KinkAbout 80% to 93% utilizationPoint where rates rise sharply
Close factor (v2)50%Maximum debt repaid in one liquidation
Key Compound risk and rate parameters

Collateral, borrowing capacity and liquidation

A borrower on Compound must keep collateral worth more than the debt, because the protocol cannot pursue anyone off-chain. Each collateral asset has a collateral factor: depositing 10,000 USD of ETH with a factor of 80% creates 8,000 USD of borrowing capacity.

If prices move so that debt exceeds that capacity, the account becomes eligible for liquidation. In v2, any external liquidator can repay up to half of the debt and receive the borrower’s collateral at a discount. In Compound III, the protocol absorbs the underwater account and later sells the seized collateral at a discount through its own mechanism. Prices come from oracle feeds, mainly Chainlink, so oracle accuracy is a central security dependency.

Common user mistakes follow a recognizable pattern, summarized below with their causes and remedies.

MistakeConsequenceSafer practice
Borrowing at full capacityLiquidation on a small price dipStay well below the limit
Ignoring variable ratesRising cost during demand spikesMonitor utilization regularly
Volatile collateral, volatile debtTwo-sided price riskBorrow stablecoins against ETH
No monitoring toolsLate reaction to market movesSet alerts on account health
Common borrower mistakes on Compound

COMP token and Compound governance

The COMP token gives holders the right to propose and vote on changes to Compound, including new markets, parameter updates and treasury spending. Since June 2020 the protocol has distributed COMP to suppliers and borrowers, a practice called liquidity mining that made borrowing profitable for some users even after interest and helped launch the broader yield farming trend.

Governance runs through the Governor Bravo contract and a timelock: a proposal needs a minimum delegated voting power, passes a vote of several days and then waits about two days before execution. The delay gives users time to exit if they reject a change, but it also means emergency fixes are slow. In 2021 a faulty upgrade caused the protocol to over-distribute COMP rewards, and the timelock prevented a quick correction, which illustrates both the strength and the cost of strict on-chain process.

Compound compared with other lending protocols

Compound belongs to the pool-based lending family, which differs from the vault model used by MakerDAO and from the broader feature set of Aave. The comparison below shows how these well-known DeFi credit designs diverge.

ProtocolLending modelDistinctive features
CompoundPooled money marketscTokens, conservative asset listing
AavePooled money marketsFlash loans, efficiency modes, many assets
MakerDAOCollateralized debt vaultsMints its own stablecoin as debt
Compound, Aave and MakerDAO in comparison

Compound has historically chosen a narrower asset list and simpler design, which reduces attack surface but limits choice. Its cToken pattern also became a template: many later protocols on other chains are forks of Compound v2, and several suffered exploits when they added illiquid assets or weaker oracles than the original.

Risks and limitations of Compound

Using Compound exposes users to risks that do not exist in a bank deposit, and none of them are covered by a public deposit guarantee. The main categories are:

  • Smart contract risk: a bug in the protocol code can freeze or drain funds despite audits.
  • Oracle risk: a wrong price feed can trigger unfair liquidations or allow undercollateralized borrowing.
  • Liquidity risk: at 100% utilization, suppliers cannot withdraw until borrowers repay or new supply arrives.
  • Governance risk: a concentrated group of COMP holders can pass harmful proposals.
  • Bad debt risk: in a fast crash, collateral may sell for less than the debt it secured.

Rates on Compound are also variable and not guaranteed. Supply yields that look attractive during periods of high demand can fall quickly once borrowing interest declines.

A non-technical view

Compound works like a shared savings and loan pot that runs entirely on software. People put coins in and earn interest. Other people take coins out as loans, but only after locking up something worth more as a deposit.

Nobody sets the interest rate by hand. When many people want to borrow, the rate goes up; when few do, it goes down. The key idea is simple: lenders earn from borrowers, and the extra deposit protects lenders if a borrower stops paying, because the software can sell that deposit automatically.

A concrete example

A small crypto fund holds 50 ETH that it expects to keep for at least a year, but it needs about 40,000 USD in stablecoins to pay contractors. Selling the ETH would trigger a taxable event and remove its market exposure, so the treasurer supplies the 50 ETH to Compound III and borrows USDC against it.

With ETH priced at 3,000 USD, the collateral is worth 150,000 USD, and the borrowing capacity at an 80% collateral factor is roughly 120,000 USD. The treasurer borrows only 40,000 USD, about one third of capacity, and sets an alert if the position health falls. When ETH later drops 30%, the collateral is still worth 105,000 USD and the loan stays safely above the liquidation threshold. After six months the fund repays the USDC plus variable interest and retrieves the full 50 ETH.