A collateralized debt position (CDP) is a smart contract that holds a user’s crypto collateral in escrow and, in exchange, mints or issues a loan — typically a stablecoin — that can be freely used while the collateral remains locked. CDPs are the mechanism behind MakerDAO’s DAI stablecoin and have become a core DeFi primitive: instead of borrowing from a counterparty, you’re effectively borrowing from a protocol by locking value and generating a debt obligation that must be repaid (with interest) to retrieve your collateral. CDPs were the first major use case proving that algorithmic, trustless lending was viable at scale — before Aave and Compound popularized the lend/borrow model.
How a CDP Works
The CDP lifecycle follows four steps:
- Lock collateral — User deposits ETH (or another approved asset) into a smart contract vault
- Generate debt — Protocol mints stablecoin (e.g., DAI) up to the maximum allowed by the collateral value and LTV ratio
- Use the stablecoin — User can spend, invest, or trade the generated DAI freely while collateral remains locked
- Repay + retrieve — User repays the exact amount of DAI generated (plus a stability fee/interest) and the collateral is released
The collateral is never actually “lent out” to anyone — it sits idle in the smart contract as economic security. The stablecoin is created (minted) from nothing by the protocol, backed solely by the locked collateral.
CDP vs. Traditional Lending
| Feature | Traditional Bank Loan | DeFi CDP |
|---|---|---|
| Counterparty | Bank | Smart contract (no counterparty) |
| Collateral requirement | Often 20–30% (e.g., mortgage) | 125–200%+ (over-collateralized) |
| Approval process | Credit check, KYC, underwriting | None — permissionless |
| Asset generated | Fiat currency (USD, EUR) | Crypto stablecoin (DAI, LUSD) |
| Liquidation trigger | Manual court process | Automatic, on-chain, instant |
| Transparency | Opaque | Fully auditable on-chain |
CDPs require more collateral than traditional loans because there’s no credit assessment — anyone can open one, so the protocol compensates with stricter collateral requirements.
Collateralization Ratio
CDPs are defined by their collateralization ratio (CR) — the ratio of collateral value to debt value:
CR = (Collateral Value ÷ Debt Value) × 100%
MakerDAO’s ETH-backed vaults historically required a minimum 150% CR (equivalent to a 66.7% maximum loan-to-value ratio). If your CR falls below the liquidation ratio, your vault is liquidated:
| Maker Vault Type | Liquidation Ratio | Risk Level |
|---|---|---|
| ETH-A | 145% | Standard |
| ETH-B | 130% | Higher risk, more leverage |
| ETH-C | 170% | Conservative |
| WBTC-A | 145% | Standard |
| stETH-B | 155% | Liquid staking collateral |
Example Position
| Step | Value |
|---|---|
| ETH deposited | 10 ETH = $30,000 |
| DAI generated | $15,000 (50% LTV; 200% CR) |
| ETH price drops to $2,200 | Collateral = $22,000 |
| Current CR | $22,000 ÷ $15,000 = 146.7% — still safe |
| ETH price drops to $2,100 | Collateral = $21,000; CR = 140% — below 145% threshold → liquidation |
CDP Variants Across Protocols
The CDP mechanic has evolved significantly beyond MakerDAO’s original design:
MakerDAO Vaults (Original CDP)
- Collateral types: ETH, WBTC, stETH, RWA (real-world assets), LP tokens
- Interest: “Stability fee” (variable, governance-set; currently ranges by vault type)
- Liquidation: Dutch auction system (Liquidations 2.0)
Liquity (LUSD)
- Collateral: ETH only
- Minimum CR: 110% (one of the most capital-efficient CDP systems)
- No governance: Parameters are hardcoded; zero stability fee (only a one-time borrowing fee)
- Liquidation: Stability Pool absorbs bad debt first; redemptions enforce the peg
Abracadabra (MIM)
- Collateral: Yield-bearing tokens (yvUSDC, xSUSHI, stETH LP)
- Distinguishing feature: Using yield-bearing collateral means interest can partially offset borrowing cost
Curve’s crvUSD
- Novel feature: LLAMMA (Lending-Liquidating AMM Algorithm) — gradually converts collateral to stablecoin as price falls, creating a soft liquidation buffer rather than instant hard liquidation
CDP Risks
1. Liquidation Risk
2. Stability Fee / Interest Accumulation
3. Oracle Risk
4. Black Swan Events
History
- 2017 — MakerDAO launches on Ethereum mainnet with single-collateral DAI (SAI), accepting only ETH. The CDP concept is introduced to crypto for the first time.
- 2019 — MakerDAO upgrades to Multi-Collateral DAI (MCD), accepting USDC, WBTC, and other assets. “CDPs” are rebranded as “Vaults.”
- 2020 (March) — Black Thursday: ETH drops 50% in hours; $5.7M in CDPs liquidated for $0 (liquidation bots failed due to network congestion). MakerDAO auctions new MKR to recapitalize.
- 2021 — Liquity launches with 110% minimum CR, demonstrating that CDPs can work with much lower collateral requirements using novel stability pool mechanics.
- 2022 — Abracadabra’s MIM becomes $4B+ market cap; subsequently collapses as Wonderland/Frog Nation scandal unfolds, demonstrating counterparty risk in governance.
- 2023 — Curve launches crvUSD with LLAMMA soft-liquidation, the most significant CDP mechanism innovation since Liquity.
- 2024 — MakerDAO rebrands to Sky Protocol; DAI and MKR rebrand to USDS and SKY, while maintaining CDP-based collateral mechanics.