Version guide
Compound v2 and Compound III
Short answer Compound v2 and Compound III share a name and a governance Timelock but little else. v2 is a multi-asset pool whose deposits are cTokens that earn, collateralize and get lent. III is a set of single-base-asset markets whose collateral earns nothing. They fail in different places, so a market's version decides which risks apply.
“Compound” can mean two different contract sets. The protocol page explains the current design. This guide maps the two, because an integrator or a reader of a risk report who writes “Compound” has not said which one.
The map
| Compound v2 | Compound III (Comet) | |
|---|---|---|
| Unit of deposit | A cToken per asset, transferable | A balance inside the market contract |
| What can be borrowed | Any listed asset | The market’s single base asset |
| Collateral earns interest | Yes, it is a cToken | No |
| Who sets risk parameters | The Comptroller, per market | The Configurator, per collateral asset |
| Rates | Per block, from an interest rate model per cToken | Per second, two separate curves for supply and borrow |
| Liquidation | A third party repays part of a borrow and receives collateral at a bonus | Anyone absorbs the account, then anyone can buy the collateral |
| First loss | The suppliers of the affected markets | Protocol reserves, then suppliers |
cTokens
In v2 each asset has its own market contract, a cToken. A supplier mints cTokens and the docs say they earn interest through the cToken’s exchange rate, which increases in value relative to the underlying, and gain the ability to use cTokens as collateral. The exchange rate in CToken.sol is:
exchangeRate = (totalCash + totalBorrows - totalReserves) / totalSupply
That excerpt is from contracts/CToken.sol on the master branch of compound-protocol, read on 23 November 2026. Borrow interest raises totalBorrows, so each cToken becomes worth more underlying while the cToken balance stays still. This is the same idea as an Aave aToken’s liquidity index, expressed as a token price instead of a growing balance. An integration that wants the underlying value multiplies the cToken balance by the exchange rate.
The consequence of the v2 design is that deposits are both lent and collateral. A borrower’s collateral is therefore also someone’s lent asset, and if the market’s cash is borrowed out, collateral can be hard to redeem. A depositor who is also a borrower is exposed to each asset in their basket, including the assets they only meant to hold as collateral.
The Comptroller
The Comptroller sets, per market, the collateral factor, and sets protocol-wide a close factor and a liquidation incentive. In the code read, the close factor is bounded between 0.05 and 0.9 and the collateral factor has a maximum of 0.9. The v2 docs describe the close factor as the share of a liquidatable account’s borrow that can be repaid in one liquidate transaction, applied to any single borrowed asset, not to the aggregate.
A v2 liquidator therefore repays some portion of one borrowed asset and receives the borrower’s collateral, which the liquidator chooses from among what the borrower supplied, plus an incentive. Liquidation is a profitable action for the liquidator, which is why third parties perform it, and also why incentive settings are a tradeoff between speed of repair and cost to the borrower.
Comet
Compound III replaces all of this with one contract per market. There is no cToken, no per-asset market and no close factor. The protocol page covers the mechanism. In terms of the comparison above, the three differences that matter are:
- Collateral is inert. It earns nothing, and it cannot be borrowed by anyone else. A collateral asset’s problems stay on its own balance and do not spread through a lending market.
- Liquidation is a protocol operation.
absorbtakes all collateral and spends reserves to repay debt. The absorber earns no bonus.buyCollaterallater sells the collateral at a discount, only while reserves are under their target. - Parameters are constants. Changing one means deploying a new implementation through the Configurator, which governance does by proposal.
What to check before relying on a name
- Does the interface call a cToken address or a Comet proxy? A proxy address that the docs list for a market is the only address to use for a Compound III instance.
- In Compound III, which asset is the base asset, and which assets are collateral? An asset supplied as collateral is not earning.
- Which price feed does the market use for each asset, and what are its update rules? The contract reads the answer, and the version of
getPriceread for this site does not check its age. - What are the market’s
targetReservesand current reserves? That is what decides whether liquidation proceeds are being recycled or whetherbuyCollateralhas been turned off.
The liquidation comparison sets out how other protocols liquidate, and the collateral and liquidation concept page explains the general trade-offs.
Version status
| Version | Status | What that status means here |
|---|---|---|
| Compound v2 | released | cTokens per asset, a Comptroller that sets collateral factors, close factor and liquidation incentive, per-block rates, and liquidation by third parties who repay debt for collateral at a bonus. |
| Compound III (Comet) | active | One base asset per market, inert collateral, signed principal balances, per-second rates, and absorb followed by buyCollateral. |
Common questions
Is a cToken the same thing as a Compound III balance?
No. A cToken is an ERC-20 whose exchange rate against the underlying rises as the market accrues interest, and holding it also lets the owner enter the market as collateral. A Compound III base-asset balance is a signed number stored inside the Comet contract, converted with an index, and it is not a transferable token.
Can the same asset be both collateral and earn interest in Compound III?
Not in the same role. The base asset earns interest when supplied. Other assets supplied as collateral earn nothing and are not lent out. In Compound v2 a supplied asset could do both, because the cToken accrued interest while the account used it as collateral.
Why does the exchange rate of a cToken only go up?
Its rate is cash plus total borrows minus total reserves, divided by cToken supply. Interest on borrows raises total borrows without minting cTokens, so the rate rises while there is no loss. If a borrower's debt were written off, borrows would fall and the rate would too.
Sources
Check the claims yourself: each group below is a different kind of evidence. Code and specifications show what the contracts do. Documentation shows what the protocol says they do.
Source code
- CToken.sol in compound-protocol Compound
- Comptroller.sol in compound-protocol Compound
- CometWithExtendedAssetList.sol Compound
Documentation
- Compound v2: cTokens Compound
- Compound v2: Comptroller Compound
- Compound v2 documentation Compound
- Compound III documentation Compound
- Compound III: liquidation Compound
- Compound III: collateral and borrowing Compound
Keep reading
How on-chain lending works Step 8 of 15
Previous: Compound · Next: Isolated markets and curation
See something wrong or missing?
Propose a change via pull request (src/content/guides/compound-versions.md) or report a correction. See how to contribute.