Skip to content

Decentralized Lending

Overview

Decentralized Lending is one of the core pillars of the DeFi ecosystem. It allows users to deposit (lend out) and borrow assets through smart contracts without the need for intermediaries such as banks or credit assessment agencies.

Unlike traditional credit-based lending in traditional finance, current decentralized lending is primarily based on over-collateralization. This model makes lending completely permissionless and trustless, allowing anyone from anywhere in the world to participate at any time.

Core Mechanism and Principles

1. Pool-based Model

The earliest peer-to-peer (P2P) matching model (like early ETHLend) had issues with low liquidity efficiency and long wait times. Aave and Compound introduced the peer-to-pool model: - Depositors: Deposit assets into a shared liquidity pool, receiving credential tokens representing their deposit share (e.g., cToken, aToken). Interest is paid by borrowers and distributed to depositors proportionally. - Borrowers: Borrow directly from the pool, with interest rates algorithmically determined in real-time based on the pool's utilization rate.

2. Over-collateralization

To ensure fund safety in the absence of credit scores, borrowers must provide assets worth more than the borrowed amount as collateral. - Loan-to-Value (LTV): For example, ETH's LTV is 80%, meaning depositing $100 worth of ETH allows borrowing up to $80 in USDC. - Liquidation Threshold: If collateral prices drop, causing the debt value to approach or exceed the collateral's safety threshold, the protocol allows third parties (liquidators) to repay the debt and seize the borrower's collateral at a discount.

3. Interest Rate Model

Interest rates are not set by a central authority but are dynamically adjusted by smart contract algorithms based on utilization rate. - Low utilization (ample funds): Low borrowing rates, encouraging borrowing. - High utilization (scarce funds): Borrowing rates increase exponentially, discouraging borrowing and incentivizing repayment/deposits.

4. Flash Loans

A DeFi-native feature pioneered by Aave, allowing developers to borrow massive uncollateralized funds within a single block transaction, provided the principal plus interest is repaid before the same transaction ends. If not repaid, the entire transaction is reverted as if it never happened. This is commonly used for arbitrage, liquidations, and asset restructuring.

Representative Protocols

  • Aave: Currently the largest lending protocol by TVL, supporting multiple chains with advanced features like flash loans and credit delegation.
  • Compound: Pioneer of lending mining. V3 introduced a single borrowing asset model (Comet) to reduce risk.
  • MakerDAO: While primarily a stablecoin protocol, its Vaults are essentially collateralized debt positions (CDPs), where the borrowed asset is newly minted DAI.
  • Morpho / Spark: Next-generation optimizers or fork protocols aimed at improving capital efficiency or serving specific ecosystems.

Key Features

  • Instant Settlement: No tedious approval processes; lending completes in seconds.
  • Passive Income: Depositors can earn interest on idle assets.
  • Leveraged Trading: Through recursive lending (deposit -> borrow -> re-deposit), users can go long or short on specific assets.
  • Transparency: All fund flows, liquidation records, and interest rate changes are verifiable on-chain.

Risks

  • Liquidation Risk: During severe market volatility, collateral may be forcibly liquidated, resulting in principal loss.
  • Smart Contract Risk: Code vulnerabilities may lead to pool funds being stolen by hackers.
  • Oracle Risk: If price feed mechanisms are manipulated, it may cause incorrect liquidations or bad debt.
  • TVL (Total Value Locked): Total value locked in protocols.
  • APY (Annual Percentage Yield): Annualized yield (including compound interest).
  • Health Factor: A metric measuring the safety of a debt position; typically < 1 triggers liquidation.