Liquidations: Debt write-off
Debt Write-off & Streaming Collateral
Omnipair’s liquidation mechanism fundamentally differs from traditional DeFi lending protocols. Instead of relying on auctions or forced asset sales, Omnipair combines immediate debt write-off with a gradual collateral streaming mechanism, enhancing system stability and protecting liquidity providers (LPs).
Problem: Traditional Liquidation Risks
In traditional lending protocols (e.g., Aave, Compound), liquidation occurs via third-party liquidators. Liquidators repay borrower debts in exchange for discounted collateral. This causes several critical issues:
Instant liquidation: Sudden collateral sales create market impacts, price slippage, and cascading liquidations.
Reliance on liquidators: External liquidators may fail or delay during market volatility or network congestion.
Oracle dependency: Real-time price oracle reliance introduces manipulation risks.
These risks are particularly pronounced in volatile, highly leveraged, or long-tail asset markets.
Omnipair’s Solution: Debt Write-off & Streaming Collateral
Omnipair solves these issues through an internal, oracle-free liquidation process:
Step 1: Debt Write-off
When a borrower crosses the liquidation threshold (collateral value < debt value based on EMA pricing), their debt is immediately removed from the debt accounting pool. This requires no external liquidator.
Step 2: Streaming Collateral
Collateral isn't sold instantly. Instead, it's gradually streamed back into the pool reserves. This "slow-drip" replenishes reserves smoothly, avoiding sudden market impacts.
Collateral is incrementally returned to pool reserves over a defined timeframe, restoring pool solvency in a controlled manner.
Technical Explanation
Notations:
Let:
: Collateral amount in Token0
: Debt amount in Token1
: Exponential Moving Average price of Token1 denominated in Token0
: Collateral Factor (e.g., 85%)
Liquidation Condition:
A borrower becomes insolvent if:
Debt Write-off Mechanism:
Upon insolvency detection:
Borrower's debt () is immediately subtracted from the pool’s total debt:
Borrower's collateral () ownership is transferred internally to the pool.
Collateral Streaming Mechanics:
Collateral is gradually released back into pool reserves over time, using an exponential decay function. Define:
: Current time
: Insolvency event timestamp
: Streaming rate constant (determines speed of collateral release)
Collateral released at time after insolvency event:
Collateral remaining (yet to be released) at time :
This to ensure a smooth, predictable collateral returns, preventing market shocks.
Solvency Restoration:
Pool reserves are replenished continuously over time, progressively restoring solvency:
Practical Example:
Suppose:
Collateral Factor:
Initial collateral: Token X
Debt: Token1
Initially, EMA:
Initially solvent condition:
If EMA price suddenly drops to :
This triggers liquidation:
Debt ( Token Y) immediately written off.
Collateral ( Token X) streams back to reserves gradually with streaming rate .
Collateral returned after 1 day:
Collateral returned after 7 days:
This gradual restoration prevents sharp impacts on liquidity reserves.
Advantages of Omnipair’s Approach:
No oracle risk: EMA-based solvency checks remove real-time oracle dependencies.
Market stability: Smooth recovery prevents sudden price impacts or liquidation cascades.
LP Protection: Predictable collateral replenishment secures LP capital even during volatility.
Autonomous system: Eliminates external liquidators, ensuring protocol robustness.
Summary:
Omnipair's Debt Write-off & Streaming Collateral mechanism redefines liquidation as a stable, internalized, and predictable process, effectively managing and mitigating risks typically associated with traditional DeFi liquidations.
Last updated