Why Auto-Deleverage Exists
Consider a scenario where an asset listed as collateral on Kamino experiences a sudden collapse in market liquidity. There are $50M of loans backed by this collateral, but the market can only absorb $5M of sell pressure without catastrophic price impact. If those loans become liquidatable, liquidators cannot execute profitably — the price impact of selling the collateral exceeds the liquidation bonus. The result: bad debt, socialized among lenders. Auto-deleverage prevents this scenario by facilitating an orderly unwinding of the asset before bad debt materializes. Instead of waiting for positions to become liquidatable and hoping liquidators can execute, the protocol proactively reduces exposure to the risky asset. This mechanism was designed in response to historical DeFi incidents:- Aave CRV incident: A whale accumulated a massive CRV-collateralized position. When CRV liquidity dried up, the position could not be liquidated without cascading the price further. The protocol eventually incurred bad debt.
- Solend whale incident: A single large position threatened protocol solvency due to insufficient market liquidity to absorb a potential liquidation.
How It Works
Triggering
Auto-deleverage is triggered by the Risk Council through a multisig vote. When the KRAF dashboard indicates that a cap change is prudent for a specific asset — due to liquidity deterioration, volatility spikes, or other risk signals — the Risk Council can initiate the deleverage process. The mechanism can also be automated in the future by taking into account various on-chain signals within the protocol.The 72-Hour Margin Call
Once the multisig vote passes, all affected users are notified of the deleverage event and given a 72-hour margin call period to take action. During this window:- No penalty is applied
- Users can voluntarily reduce their exposure (repay debt, withdraw collateral, restructure positions)
- If enough borrowers act voluntarily and bring exposure below the new caps, the process ends without any forced deleveraging
What Happens After the Margin Call
A new, reduced cap is set for the target asset. The difference between the current amount and the new cap is the amount that will be auto-deleveraged. Users subject to deleveraging see a proportional reduction in the target asset, along with corresponding tokens in their position. Deleveraging generally results in a healthier (lower) LTV ratio for the affected position. Lenders are never affected by auto-deleveraging — only borrowers.Collateral Deleverage
Collateral deleveraging is triggered when there is too much of an asset backing loans as collateral than can be successfully liquidated. The market liquidity for the collateral token has deteriorated to the point where liquidation would incur losses. Example: Token A deposit caps are lowered from $100M to $80M. 20% of Token A collateral must leave the system. All users with Token A supplied as collateral are notified. If a user is deleveraged:- Some or all of their Token A collateral is sold on the market
- The proceeds repay their debt proportionally
- A deleverage penalty is paid to the liquidator who executes the deleverage
Debt Deleverage
Debt deleveraging is the reverse scenario. If there is too much debt in a specific token and prices were to rise, liquidators would need to buy the debt token off the market to close positions — but if the market buy would incur slippage exceeding the debt amount, liquidation is unviable. Example: Token B borrow caps are lowered from $100M to $80M. 20% of Token B debt must leave the system. When a user is deleveraged:- A portion of their collateral is sold
- The proceeds are used to repay their Token B debt
- This continues until the total Token B debt across the protocol reaches the new cap
Deleverage Penalty
Deleveraged loans incur a minimum liquidation penalty of 50 basis points (0.5%). The penalty is calculated as a percentage of the deleverage amount. Example: If the penalty is 0.5% and the deleverage amount is 20% of the user’s position:Penalty Escalation
The penalty continually increases until either:- The maximum penalty threshold is reached, or
- The target asset deleverage cap is achieved (all excess exposure has been unwound)
| Parameter | Value |
|---|---|
| Minimum penalty | 50 bps (0.5%) |
| Current LTV | 80% |
| Days since initiation | 3.4 days |
Penalty Cap
The maximum penalty is capped at the lowest liquidation penalty of the assets in the user’s position. For example, if a position contains SOL, USDC, and WETH with liquidation penalties of 6%, 8%, and 10% respectively, the deleverage penalty is capped at 6%. This ensures the penalty never exceeds what a standard liquidation would cost.Who Gets Deleveraged?
Once auto-deleveraging begins, a position is eligible for deleverage if:- It contains the target asset, AND
- It has a current LTV that exceeds the deleverage liquidation LTV
deleverage_liquidation_LTV. Deleveraging starts with the highest-LTV positions and works downward.
LTV Threshold Decrease
Over time, thedeleverage_liquidation_LTV decreases automatically, expanding the pool of eligible positions:
Key Design Properties
- Lenders are never affected. Only borrower positions are deleveraged.
- Orderly, not chaotic. Unlike a mass liquidation event, auto-deleverage proceeds methodically from highest-risk positions to lowest, with escalating incentives for voluntary action.
- Not routine. Auto-deleverage is a last-resort mechanism for situations where standard liquidation cannot function. It has not been activated to date — Kamino’s track record shows $0 bad debt across all market events without needing this mechanism.
- Preventive, not reactive. The mechanism intervenes before bad debt materializes, not after. The goal is to never reach the point where liquidation failure occurs.