Liquidations
Liquidation mechanics protecting protocol solvency
Liquidations
MuchFi's liquidation system protects protocol solvency by triggering when margin falls below safety thresholds. The mechanism operates differently for cross-margin and isolated-margin accounts, using mark prices for all checks.
Liquidation Types
MuchFi enforces three liquidation categories:
Standard Liquidation
Triggered when:
Account Equity < Account Maintenance Margin TotalBackstop Liquidation
Activated when only 1/3 of maintenance margin remains. Used when standard liquidation cannot complete at acceptable prices.
Auto-Deleveraging (ADL)
Engaged when the Insurance Fund cannot cover bad debt. Matches underwater positions with profitable counterparties.
Standard Liquidations
When an account becomes undercollateralized, liquidators close positions incrementally through transactions.
Process
- Liquidator specifies account, position, units to close, and execution price
- Execution occurs on the standard order book
- Partial fills allowed if
min_fill_ratiothreshold is met; otherwise transactions revert - Remaining positions stay open for subsequent liquidation steps
Margin Distribution
Forfeited margin splits between:
- Liquidator rewards (incentive for liquidation)
- Insurance fund contributions (protocol protection)
Each liquidation step improves the equity-to-maintenance-margin ratio.
Backstop Liquidations
If standard book liquidity proves insufficient at acceptable prices, the system escalates to backstop liquidations.
Characteristics
- Routes through alternative liquidity sources (vaults, market makers)
- No taker fees applied
- Execution occurs on the backstop order book
- Partial fills follow the same
min_fill_ratioguard - Full position margin forfeiture upon execution
Keeper Incentives
Keeper incentive documentation coming soon.