Loss Policy
The Problem: Market Price Cascades
Using market oracles can sometimes trigger liquidation cascades, where a rapid price drop causes mass liquidations and further depresses the asset’s price. An example is the ezETH cascading liquidations in April 2024.

When prices fall too quickly, liquidators may be unable to react in time. As a result, positions can become insolvent before liquidation completes. In such scenarios, continuing to liquidate at the current market price may actually create bad debt, because collateral can be sold far below its fair or medium-term value.
The Solution: Aliased Pricing
To protect liquidity providers (LPs) in these situations, Gearbox implements a Loss Policy mechanism.
The logic is as follows:
Positions are liquidated using market prices under normal conditions.
If a liquidation would create bad debt (Collateral Value < Debt), the protocol reprices the collateral using the aliased price, which can be configured to the asset’s fundamental value (e.g., Exchange Rate or 1.00 for stablecoins).
If the position is healthy under this fundamental pricing, the liquidation is halted.

Execution Flow
The Loss Policy acts as a conditional circuit breaker during the liquidation process.
Standard Check: Is Health Factor < 1 using the Main Feed (Market Price)?
No: Account is healthy. Do nothing.
Yes: Proceed to step 2.
Bad Debt Check: Does
Collateral Value < Debt?No: Liquidation proceeds normally. Liquidator repays debt and claims collateral.
Yes: The liquidation is flagged as a "Loss Liquidation". Proceed to step 3.
Fundamental Check: Is Health Factor < 1 using the Aliased Feed (Fundamental Price)?
No: The protocol assumes the market price is temporarily dislocated (flash crash). Liquidation is blocked to prevent realizing the loss at a distressed price.
Yes: The asset is fundamentally insolvent. Liquidation proceeds.
Learn More
Bad debt acknowledgment: What happens when a liquidation proceeds under the Loss Policy and bad debt is realized?
Last updated