Isolated Lending Markets
Permissionless lending markets where each (collateral, loan, oracle, LLTV, IRM) tuple is its own contract, so bad debt cannot cross markets
Abstract
An isolated lending market is an independent (collateral, loan, oracle, LLTV, IRM) tuple. Unlike pooled lending (LP-9109), risk is isolated per market -- a bad collateral asset in one market cannot cascade to others. Each market has its own Loan-to-Value ratio, interest rate model, and liquidation parameters, and market creation is permissionless.
Motivation
Pooled lending forces one risk committee to decide, for every depositor at once, which assets are safe. That is why listing a new asset is slow and why one bad listing socializes losses across everyone. Isolation moves the decision to the lender: pick the market, accept exactly that market's collateral risk, and a worthless token in another market is not your problem. Listing then needs no permission at all.
Specification
Market Creation
Anyone can create a market by specifying:
struct MarketParams {
address loanToken; // token being borrowed
address collateralToken; // token used as collateral
address oracle; // price oracle (LP-9005)
uint256 lltv; // liquidation loan-to-value (e.g., 86% = 8600 bps)
address irm; // interest rate model contract
}
Markets are permissionless. The factory deploys a minimal proxy per market.
Supply and Borrow
- Supply: lenders deposit
loanTokenand receive shares representing their claim - Borrow: borrowers deposit
collateralTokenand borrowloanTokenup tolltv - Interest: accrues per second, computed by the IRM based on utilization
utilization = totalBorrowed / totalSupplied
borrowRate = IRM.rate(utilization)
supplyRate = borrowRate * utilization * (1 - reserveFactor)
Interest Rate Model
The default IRM uses a kinked curve:
| Utilization | Rate |
|---|---|
| 0% - 80% (optimal) | Linear from 1% to 4% APR |
| 80% - 100% | Steep from 4% to 100% APR |
The kink at 80% incentivizes utilization to stay below optimal, ensuring withdrawal liquidity.
Liquidation
When a borrower's LTV exceeds lltv:
- Liquidator repays part or all of the loan
- Liquidator receives collateral at a discount (liquidation incentive = 5%)
- Bad debt (if collateral < loan) is socialized across lenders in that market only
maxLiquidatable = borrowedAmount * (currentLTV - lltv) / (1 - lltv * (1 + incentive))
Risk Isolation
Each market is an independent contract with its own:
- Reserve of loan tokens
- Collateral custody
- Interest accrual state
- Bad debt accounting
A market with a worthless collateral token only affects lenders in that specific market.
Reserve Factor
A percentage of interest (default 10%) accrues to the protocol reserve within each market. This reserve absorbs initial bad debt before socializing to lenders.
Rationale
lltv is fixed at creation and cannot be changed. A mutable LLTV would let a market's creator re-price every existing borrower's risk after the fact; immutability turns the market into a contract the borrower can read once and rely on. Upgrades happen by creating a new market, not by editing a live one.
Security Considerations
- Oracle dependency: incorrect oracle prices lead to incorrect liquidation thresholds. Each market must use a reliable oracle feed — see LP-9005 and the provider economics in LP-9007.
- LLTV governance: excessively high LLTV increases insolvency risk. Market creators set LLTV at creation; it cannot be changed after.
- Dust positions: minimum borrow amounts prevent dust positions that are uneconomical to liquidate.
Reference
| Resource | Location |
|---|---|
| Lending contracts | github.com/luxfi/standard/contracts/lending/ |
| Market factory | MarketFactory.sol |
| IRM | KinkedIRM.sol |
Related LPs
- LP-9204 — reputation-based collateral reduction on top of these markets
- LP-9109 — pooled lending, the other model
- LP-6156 — flash loan interface
Copyright
Copyright (C) 2024-2026, Lux Industries Inc. All rights reserved.
Licensed under the MIT License.