User Guides
Deleverage
Understand how deleveraging works and the possible outcomes based on your input
What is Deleverage?
Deleverage is the process of unwinding a leveraged position. If you’ve borrowed assets using your collateral (i.e. taken leverage), this strategy helps you reduce or fully repay that debt using the collateral you already have in your vault.
It's useful when -
- You want to exit your leverage position.
- You want to lower your debt to make your position safer.
When Should You Use Deleverage?
- You want to close your leveraged position
- You want to reduce your debt using the collateral
- You want to improve your Debt-to-Collateral (D/C) ratio
- You want to safely exit a risky position
How Deleverage Works (Step-by-Step)
1. Withdraw Collateral
A portion of your deposited collateral is pulled out from the vault. This is the asset you'll use to repay part (or all) of your outstanding debt.
2. Swap Collateral for Debt Token
The withdrawn collateral is swapped into the token you owe (your debt token).
3. Repay Debt
The swapped tokens are used to reduce or eliminate your vault’s debt.
Understanding Deleverage with Examples
Now that you know what deleveraging is and why it’s useful, let’s look at a few simple examples. These will show how different collateral amounts can lead to different outcomes like, whether the debt is fully paid off, some debt remains, or excess collateral is returned.
Case 1: You Deleverage but Still Have Some Debt Remaining
You deleverage partially. The position becomes safer, but some debt still remains.
- A part of the collateral is withdrawn and swapped to repay part of the debt.
- The vault still holds some remaining debt and collateral.
- Your D/C ratio improves, reducing risk.
Before (Debt remaining)
After (Debt remaining)
Good when you want to lower risk but don’t want to repay the full debt.
Case 2 - You Fully Close Your Debt
You deleverage enough to repay all the outstanding debt.
- Collateral is withdrawn and swapped exactly to repay the full debt.
- After deleverage, your vault has zero debt.
- Remaining collateral stays in the vault (can be withdrawn manually later).
Before (Zero Debt)
After (Zero Debt)
Ideal when you want to completely exit your loan safely.
Case 3: You Enter More Collateral Than Needed
You use more collateral than required to clear the debt.
- Vault debt becomes zero.
- Extra swapped tokens (now in the form of debt token) are returned to your wallet.
- No debt or excess collateral remains in the vault.
Before (Excess Collateral)
After (Excess Collateral)
Useful when you want to exit the vault fully.