Decentralized lending pools serve as the backbone of the DeFi ecosystem by aggregating capital from liquidity providers to satisfy the demand of borrowers. These protocols function without centralized credit checks, relying entirely on over-collateralization and real-time asset pricing to ensure the integrity of the market.
Collateralised borrowing
When a user supplies assets to a lending pool, the protocol mints a tokenised receipt (e.g., cTokens or aTokens) that represents the deposit plus accrued interest. Borrowers, conversely, must post collateral to take a loan. The amount a borrower can draw is limited by the Loan-to-Value (LTV) ratio specific to the collateral asset.
If an asset is highly volatile, the protocol sets a lower LTV, effectively requiring more collateral per unit of debt. These parameters are often subject to governance decisions, allowing the community to adjust risk exposure based on market conditions.
Interest rates follow utilisation
Interest rates in lending pools are not fixed; they are dynamic, adjusted by the utilisation rate of the pool. Utilisation is the ratio of borrowed assets to the total liquidity available in the pool.
Most protocols employ a kinked interest rate curve. As utilisation approaches the "kink" point, interest rates remain modest. If borrowing demand exceeds this threshold, the interest rate increases exponentially to disincentivize borrowing and encourage new deposits. This ensures that lenders are adequately compensated for high-demand environments and prevents the pool from hitting zero liquidity.
Health factor and liquidation
Borrower safety is measured by the "health factor," defined as (collateral_value * liquidation_threshold) / total_debt. If the health factor drops below 1.0, the position is deemed under-collateralized and becomes eligible for liquidation.
Liquidators are external actors who monitor these health factors. Upon identifying an unhealthy position, they repay a portion of the debt in exchange for the borrower's collateral plus a liquidation bonus. This incentive ensures that insolvent positions are closed immediately, preserving the pool's overall solvency.
| Term | Description | | :--- | :--- | | LTV | Maximum borrowing capacity relative to collateral value | | Liquidation Threshold | Asset value level triggering potential liquidation | | Liquidation Bonus | Incentive reward for liquidators for closing bad debt |
Oracle dependency
Lending pools depend on external price oracles, typically Chainlink or similar decentralized networks, to determine the value of collateral. These oracles push price updates on-chain, which the lending contract uses to re-calculate the health factor of every open loan.
Reliance on these feeds creates a critical attack vector. If an oracle is fed stale data or manipulated via flash loan attacks on thin markets, the protocol may fail to trigger liquidations in time. This dependency makes robust oracle selection and multi-source validation a primary focus for protocol security audits.
How these markets break
Systemic failure typically occurs when the price of collateral crashes faster than liquidators can process the transactions. If the liquidation queue is saturated or gas prices spike, the protocol may be unable to close positions before the collateral value drops below the remaining debt.
This leads to bad debt, where the pool is owed more than the collateral it holds. Another significant risk is the cascading liquidation loop: when a large borrower is liquidated, the sudden market sale of their collateral causes the price of the asset to drop further, potentially pushing other healthy borrowers into an insolvent state, creating a domino effect that can threaten the entire protocol's stability.