What does “bankrupt” mean here?
An account is bankrupt if it has a negative total collateral value. In plain terms, the trader owes more than they have. When this happens, the Orderly Insurance Fund takes over all of that account’s positions and debt. This protects other users from absorbing those losses.How the Insurance Fund grows
The Insurance Fund earns money over time by collecting a portion of liquidation fees. Whenever a trader gets liquidated and still has enough margin to cover the fees, part of those fees flow into the Insurance Fund. Think of it like a shared savings account that slowly fills up during normal market conditions. During extreme market swings, however, liquidators might not be able to close positions fast enough. Some traders may go bankrupt, and the Insurance Fund covers those losses by drawing from its reserves.What happens to positions that can’t be liquidated normally?
Sometimes a trader’s remaining margin is so low that it cannot even cover the minimum fee a liquidator would need. In that case:- All of the trader’s positions and remaining USDC balance are transferred to the Insurance Fund.
- Liquidators can then request to claim those positions from the Insurance Fund at a discount (slightly less than the normal liquidator fee).
Key parameters
The Insurance Fund operates as a special account with its own margin rules, separate from regular trader accounts. Two important parameters control it:-
min_insurance_fund_margin_ratio: This is the maintenance margin ratio for the Insurance Fund. If the fund’s margin ratio drops to this level, it signals trouble. -
min_margin_ratio_solvency: This is the absolute floor — the lowest margin ratio the Insurance Fund can reach before it is considered insolvent.
ADL (Auto-Deleveraging)
ADL is the last resort. It only kicks in when all other safety mechanisms have failed. Specifically, ADL is triggered when all three of these conditions are true:- Liquidators don’t take over liquidated positions
- No liquidators claim those positions on the Insurance Fund for some time, and
-
The Insurance Fund Margin Ratio falls below the
min_insurance_fund_margin_ratio,