Skip to content
Home » Compound Finance: How Algorithmic Interest Rates Transformed Crypto Lending

Compound Finance: How Algorithmic Interest Rates Transformed Crypto Lending

  • DeFi

Automating the Money Market

When you deposit money in a savings account, a bank takes your deposit, lends it to others at a higher rate, and pockets the difference. This intermediation — matching savers with borrowers — is the oldest function of banking. Compound Finance, launched by Robert Leshner and Geoffrey Hayes in September 2018, demonstrated that this function can be performed by a smart contract with no bank required, no credit officers involved, and interest rates set not by committee but by the mathematical relationship between supply and demand.

Compound created what it called “money markets” for cryptocurrency — pools of assets where anyone could deposit tokens to earn interest or borrow tokens by posting collateral. The interest rates these markets offered adjusted automatically, in real time, based on how much of the deposited assets were currently borrowed. This elegant mechanism — simple to use but profound in its implications — helped establish the template for decentralized lending that every subsequent DeFi lending protocol has followed or adapted.

The Interest Rate Model: Supply and Demand in Code

Compound’s interest rate model is its most important innovation. Each asset (ETH, USDC, DAI, WBTC, etc.) has its own money market with a pool of deposited assets and a record of how much of those assets are currently borrowed. The utilization rate — the percentage of the pool currently lent out — drives interest rates through a mathematical formula.

The model works in two regimes. In the “normal” regime, as utilization increases from 0% toward an optimal point (typically 80%), borrow rates increase gradually. Above the optimal utilization rate, borrow rates increase steeply — a “kink” in the rate curve that creates strong economic pressure to repay loans when the pool approaches full utilization. This kink ensures that depositors can almost always withdraw their funds, because rates become prohibitively expensive for borrowers before the pool is fully depleted.

Supply (deposit) rates are derived from borrow rates: if 80% of a pool is borrowed at 5% annual rate, depositors collectively earn 80% of 5% = 4% on their deposits (minus a reserve factor retained by the protocol). This relationship means deposit rates can never exceed borrow rates and are always directly tied to actual lending activity, not promotional rates that could be subsidized and then withdrawn.

The result is interest rates that respond to market conditions continuously — updating with every block, every 12 seconds on Ethereum. When demand to borrow USDC spikes (as it did during bull markets when leverage was in high demand), rates rose automatically within minutes, attracting additional depositors. When demand subsided, rates fell. No committee meeting required.

cTokens: The Interest-Bearing Receipt

When you deposit tokens into Compound, you receive cTokens — Compound Tokens — representing your deposit. If you deposit 1,000 USDC, you receive some amount of cUSDC. cTokens are not redeemable 1:1 for the underlying asset; instead, their exchange rate increases over time as interest accrues. When you want to withdraw, you return your cTokens to the Compound contract and receive more USDC than you deposited, representing your principal plus all accrued interest.

This design made cTokens composable: because they are standard ERC-20 tokens, you can hold them in a wallet, transfer them, use them in other DeFi protocols, or trade them on DEXs. A deposit in Compound could simultaneously be: earning interest, posted as collateral in another protocol, and represented as a token in a portfolio tracker — without any manual management. This composability was a key enabler of DeFi’s “money Lego” property.

Borrowing and Collateralization

Borrowing on Compound works through over-collateralization. To borrow, you must first deposit collateral worth more than what you’re borrowing. Each asset has a “collateral factor” — the percentage of its value you can borrow against. ETH might have a 75% collateral factor: $1,000 of ETH lets you borrow up to $750 in any combination of supported assets.

Compound calculates your “account liquidity” — the difference between your borrowing capacity and your outstanding borrows. If your collateral value falls (because collateral prices declined) or your borrow value rises (because interest accrued), account liquidity decreases. When it reaches zero, any third party (a liquidator) can repay up to 50% of your outstanding borrow and receive a corresponding amount of your collateral plus a liquidation incentive (typically 8%).

Liquidators are automated bots that continuously monitor Compound positions and execute liquidations instantly when positions become vulnerable. This automated liquidation market ensures that Compound remains solvent even during severe market downturns, because liquidators are economically incentivized to clear undercollateralized debt regardless of time of day or market conditions.

The COMP Token: DeFi’s First Liquidity Mining Program

On June 15, 2020, Compound launched the distribution of its COMP governance token and accidentally ignited the DeFi summer that defined the next 18 months of the crypto market. The mechanics were straightforward: COMP tokens were distributed to Compound users — both depositors and borrowers — in proportion to their activity on the platform. Each Ethereum block, a fixed amount of COMP was distributed across all active markets based on the interest generated in each market.

The consequence was immediate and dramatic. The COMP token, which gave holders governance rights over the protocol, began trading at prices high enough that the effective annual yield from COMP distributions significantly exceeded the underlying interest rates. Depositing USDC in Compound might earn 3% in interest but an additional 20% in COMP token rewards — a combined APY that attracted billions of dollars in days.

Sophisticated users discovered “COMP farming”: by borrowing and lending repeatedly (since both sides earned COMP), they could maximize their COMP allocation relative to their initial capital. This created recursively increasing leverage — depositing USDC, borrowing DAI, depositing the DAI, borrowing more USDC — that dramatically inflated Compound’s TVL while creating concentrated liquidation risk.

The COMP distribution inspired every subsequent DeFi protocol to launch its own liquidity mining program, setting off a period of extraordinary innovation and equally extraordinary speculation. “Yield farming” — moving capital between protocols to maximize token rewards — became the defining activity of DeFi summer 2020 and established the incentive pattern that bootstrapped most major DeFi protocols.

Governance: COMP as a Real Governance Tool

Beyond its yield farming role, COMP functions as a genuine governance token for the Compound protocol. COMP holders can propose and vote on protocol changes: adding new assets, adjusting collateral factors, changing interest rate models, modifying reserve factors, and upgrading smart contracts. Proposals require a minimum threshold of COMP to submit and a majority of votes to pass, with a 48-hour voting period and 48-hour timelock before execution.

Compound’s governance has been meaningfully active. Token holders have added dozens of new supported assets, adjusted risk parameters in response to market events, approved grants for ecosystem development, and made fundamental changes to the protocol’s architecture. Several high-profile governance proposals have failed when the community disagreed with their direction — demonstrating that governance is not merely rubber-stamping developer preferences but genuine collective decision-making.

A cautionary tale: In September 2021, a Compound governance proposal contained a bug that erroneously made approximately $150 million in COMP tokens claimable by users who had not earned them. Because Compound’s timelock meant the fix would take 48 hours to implement after passing a governance vote, some $88 million in COMP was claimed before the fix could be deployed. The incident highlighted how governance systems themselves can contain bugs with expensive consequences.

Compound III: A Streamlined Architecture

Compound III (Comet), launched in 2022, represented a significant architectural departure from Compound V2. Rather than the pooled multi-asset model (where all assets share credit risk), Comet is a single-borrowable-asset model: each Comet market has one borrowable asset (initially USDC) and multiple accepted collateral types. This design dramatically simplifies risk management — collateral failures affect only the users who posted that collateral, rather than the entire pool.

Comet also removed the ability to use borrowed assets as collateral for additional borrowing, reducing the recursive leverage dynamics that created liquidity risk in V2. The result is a more conservative, more capital-efficient protocol better suited for institutional use and higher-quality DeFi integrations.

Compound’s Role in the DeFi Ecosystem

Compound’s TVL has ranged from hundreds of millions to billions of dollars depending on market conditions and the competitive landscape. Its primary competition comes from Aave, which launched a similar protocol with additional features (flash loans, variable/stable rate switching, cross-chain deployment) and has generally captured more TVL since 2021.

Nevertheless, Compound occupies a special place in DeFi history. It was the first major lending protocol to demonstrate that algorithmic interest rates could work at scale, the first to successfully implement governance tokens and liquidity mining, and one of the protocols that proved DeFi’s product-market fit. The protocols that came after — Aave, Euler, Morpho, and others — all built on the foundation that Compound established.

The COMP Investment Thesis

COMP token’s value accrual mechanism has been debated since its launch. The token provides governance rights but does not directly capture protocol fees — a portion of interest paid goes to the protocol reserve, but distributions to COMP holders from this reserve have required separate governance votes. The “fee switch” debate mirrors similar discussions around UNI token: when and how does protocol revenue flow to governance token holders in a way that sustains long-term demand for the token beyond governance rights?

As Compound III matures and institutional adoption grows, the case for meaningful fee distribution to COMP holders strengthens — protocols that generate real revenue and return it to stakeholders have a clearer value proposition than those relying purely on governance token speculation.

Conclusion

Compound Finance solved a fundamental problem in decentralized finance: how to match lenders and borrowers in a fully automated, transparent, and non-custodial way. The algorithmic interest rate model, cToken mechanism, and governance framework it established became foundational templates for the entire DeFi lending sector. The COMP token distribution invented liquidity mining and ignited DeFi summer. These contributions to the ecosystem exceed any particular TVL figure or token price — they are institutional innovations that reshaped how decentralized finance is built and governed.