DeFi Lending: Understanding Liquidations and Collateral

·

This article delves into the mechanics of decentralized finance (DeFi) lending, covering collateralized loans, liquidation processes, loan-to-value (LTV) ratios, liquidation factors, and a detailed example of Compound V3's liquidation mechanism.

How DeFi Lending Works

In traditional finance (TradFi), loan defaults allow creditors to seize assets or garnish wages. In DeFi, lenders cannot forcibly extract assets from a borrower's wallet. Instead, borrowers must deposit cryptocurrency collateral exceeding the borrowed amount—a system known as over-collateralization.

Example:
A user deposits $1,000 in ETH to borrow $800 in USDC. Here, ETH acts as collateral, and the $200 buffer ensures lender security.


Motivations for DeFi Borrowing

  1. Leverage: Users deposit ETH, borrow stablecoins, and reinvest to amplify exposure to asset price movements.
    Example: Deposit $1,000 ETH → Borrow $800 USDC → Buy more ETH → Potential higher gains (and risks).
  2. Tax Efficiency: Borrowing stablecoins against crypto collateral may avoid taxable events in some jurisdictions.
  3. Liquidity Needs: Short-term funding without selling assets (similar to mortgages or car loans in TradFi).

Key Concepts

Collateral Factor

The percentage of collateral value that can be borrowed.
Formula:
collateral_factor = (loan_value / collateral_value) × 100%

Loan-to-Value (LTV) Ratio

The current ratio of loan value to collateral value. Fluctuates with:

  1. Interest accrual on the loan.
  2. Collateral depreciation.
  3. Borrowed asset appreciation.

Liquidation Threshold:


Liquidation Mechanics

What Triggers Liquidation?

  1. Interest Accumulation: Loan balance grows over time.
  2. Collateral Value Drops: Asset prices decline.
  3. Debt Appreciation: Borrowed asset value spikes (e.g., stablecoin depegging).

Example Scenarios:

How Liquidations Work

  1. Compound V3’s Approach:

    • Uses idle USDC reserves to repay the loan.
    • Protocol absorbs collateral, sells it at a discount via oracle prices.
    • Liquidation bots (MEV searchers) profit by buying discounted collateral.
  2. Liquidation Penalties:

    • Typically ~10% of collateral value.
    • Split between liquidators and the protocol (e.g., 50/50).

Risks and Mitigations

Small Loans

Large Loans

Flash Crashes


FAQs

1. Why is over-collateralization necessary in DeFi?

DeFi lacks centralized enforcement, so excess collateral ensures lender security.

2. How do protocols set liquidation thresholds?

Risk models (e.g., by firms like Gauntlet) analyze volatility, liquidity, and worst-case scenarios.

3. Can liquidation penalties exceed 10%?

Yes, but higher penalties deter borrowing. Protocols balance safety and competitiveness.

4. What happens if a liquidation fails?

Bad debt accrues, potentially destabilizing the protocol.

5. How can borrowers avoid liquidation?

Monitor LTV ratios, top up collateral, or repay loans during market downturns.


Conclusion

DeFi lending relies on over-collateralization and automated liquidations to maintain solvency. Key takeaways:

👉 Master DeFi strategies with our blockchain bootcamp

Originally published December 30, 2023


### Key SEO Keywords:  
1. DeFi lending  
2. Liquidation mechanisms  
3. Collateral factors  
4. Loan-to-value (LTV)  
5. Compound V3  
6. Over-collateralization  
7. Flash crash risks