Liquidations
Liquidations on Curve Lending and crvUSD work differently to other DeFi loans. There are three types of system operations called liquidations, designed to protect both borrowers and the protocol:
- Soft-liquidations - the system is actively trying to protect your collateral from hard-liquidation
- Hard-liquidations - this is like a regular liquidation on another lending platform, collateral is lost, but borrowed assets are kept
- Self-liquidations - users can choose to liquidate themselves, which is sometimes beneficial.
The sections below explain each type in detail, including when they occur and how they work.
Soft-liquidation¶
Soft-liquidation serves as a warning system for at-risk positions. During this phase, the system automatically protects loans by:
- Converting the original collateral to the borrowed asset as prices decrease
- Converting back to the original collateral as prices increase (de-liquidation)
See the image below for an explanation about how soft-liquidation works.
Important notes about soft-liquidation:
- Hard-liquidation is not triggered at the bottom of the soft-liquidation range (e.g., below $2,000 in the above image)
- Collateral is gradually lost to swap fees during soft-liquidation and de-liquidation as prices fluctuate
- Health deterioration accelerates significantly during high market volatility
-
Debt repayment affects the position differently depending on timing:
- During soft-liquidation: Increases health but maintains the same soft-liquidation range
- Outside soft-liquidation: Increases health and lowers the soft-liquidation range
Learn more:
- Detailed health information
- Try the soft-liquidation applet to simulate collateral conversion through the soft-liquidation range
Hard-liquidation¶
When a position's health reaches 0%, the loan becomes eligible for hard-liquidation. At this point, any user can trigger hard-liquidation by repaying the borrower's debt. In return for repaying the debt, the liquidator is rewarded with the borrower's remaining collateral. While this is typically profitable for the liquidator, in rare cases it may result in bad debt.
After hard-liquidation, the borrower:
- Keeps their borrowed crvUSD
- Loses their remaining collateral
Important notes about hard-liquidation:
- Triggered only by 0% health, not by reaching the bottom of the soft-liquidation range
- Users can be below the soft-liquidation range with fully converted collateral if they maintain positive health
- Users in soft-liquidation can increase their health by repaying debt
- If possible, it is always better to repay debt or self-liquidate before undergoing hard-liquidation, see the self-liquidation example below to see why
Learn more:
- See the hard-liquidation example below
- For detailed mechanics, see Loan Concepts In Depth: Hard-liquidations
Self-liquidation¶
Self-liquidation allows users to voluntarily close their position before reaching hard-liquidation, typically when they're already in soft-liquidation. This feature helps users recover their remaining collateral while avoiding the liquidation_discount
penalty.
Here's a simple example:
- Alice initially borrows 1000 crvUSD using 1 WETH as collateral
- Her position enters soft-liquidation, where 0.2 WETH is automatically converted to 250 crvUSD
-
Her current position now consists of:
- Debt: 1000 crvUSD
- Collateral: 0.8 WETH + 250 crvUSD
-
To self-liquidate, Alice only needs to repay 750 crvUSD (since 250 crvUSD is already in her collateral)
- After repaying, Alice recovers her remaining 0.8 WETH
Learn more:
- See the self-liquidation example below
Hard-liquidation Example¶
The example below shows a loan in the CRV/crvUSD lending market which was hard-liquidated. The chart is interactive, by hovering over prices, you can see how the health of the loan decreases over time. See that hard-liquidation only relies on health. The bottom of the soft-liquidation range is not where hard-liquidation happens.
Hard-liquidation - Borrowing crvUSD using CRV
It is always better to self-liquidate a loan before a loan is hard-liquidated. This is because the health calculation values your collateral lower than its actual worth. In this example, the borrower would have gotten back 11,107 crvUSD more if they had self-liquidated their loan instead of letting it be hard-liquidated.
Managing Health & Self-liquidation Example¶
The below example shows how to manage health and how self-liquidation works, this shows a loan in the WETH/crvUSD lending market. When the user got into soft-liquidation they decided to repay around 10% of their debt, this increased their health from approx. 3% to 13%, but kept their soft-liquidation range the same. They then stayed in soft-liquidation for a long time, so they self-liquidated. If some debt is repaid while in soft-liquidation the range will stay the same but health will increase, if debt is repaid outside the soft-liquidation range, the range will move lower.
Self-liquidating here was a good idea, this is because they already had 38,857 crvUSD as collateral (from swapped WETH in soft-liquidation), and their debt was 98,299 crvUSD, they only had to send 59,442 crvUSD and they received back their 24.3371 WETH. If they chose to repay they would have had to repay all 98,299 crvUSD of debt, and received all collateral back (38,857 crvUSD and 24.3371 WETH) in return.
Self-liquidation - Borrowing crvUSD using WETH
Soft-liquidation Applet¶
This applet simulates how collateral is converted through a soft-liquidation range.