jack-eth

SparkLend health factor below 1: how much collateral is lost?

SparkLend borrowers can lose collateral through liquidation as a third party pays down their debt and takes collateral worth the repayment plus a bonus. A position becomes eligible when its health factor falls below 1. The permissionless money market SparkLend makes this concrete: a third-party liquidator can act on an eligible position without the borrower’s approval. Its Aave V3 liquidation logic usually caps one call at 50% of the debt, but allows up to 100% when the health factor reaches 0.95 or lower. The amount of collateral taken depends on the debt repaid, the asset’s price and its liquidation bonus.

Below 1, a liquidator can repay debt and take collateral

A SparkLend liquidation begins when the value of collateral, adjusted by its liquidation threshold, falls short of the debt. A drop in the oracle price of WETH can push the health factor down. Accrued interest on a DAI borrow can do the same by increasing the debt. Both changes can make a position liquidatable without the borrower making another transaction.

The liquidator repays some of the borrower’s debt to the lending pool. In return, the protocol transfers collateral to the liquidator at its oracle value, with an extra amount set by that collateral asset’s liquidation bonus. That exchange is the step that matters to the borrower: the debt falls, but more collateral leaves the position than the repaid debt is worth. The approximate extra value lost is debt repaid × liquidation bonus. Aave V3’s liquidationCall documentation describes the repayment, collateral transfer and close-factor rules behind this exchange.

Think of the collateral as a deposit securing an unpaid tab. Someone pays part of the tab and receives a matching part of the deposit plus a reward. The analogy stops at a fixed deposit: WETH’s oracle value can change, and interest can grow the DAI tab. The health factor therefore keeps moving.

A close factor limits one liquidation call, not the total amount a borrower could eventually lose. Above 0.95 but below 1, a call can normally cover up to 50% of the debt. At or below 0.95, it can cover up to 100%. Further calls can also follow a partial liquidation if the position remains eligible. The SparkLend liquidation rules set out those health-factor bands and explain that the penalty depends on the collateral asset.

A move to 0.95 can put the whole debt in one call

Take a position with $10,000 of WETH collateral, an illustrative 80% liquidation threshold and $8,000 of DAI debt. Its health factor is $10,000 × 0.80 ÷ $8,000 = 1.0. That is the boundary. If the oracle values the same WETH at $9,800 while the debt stays at $8,000, the factor becomes 0.98. The position is now open to liquidation.

Say the WETH liquidation bonus were 5% for this example; the applicable asset setting determines the real bonus. At a 0.98 health factor, a liquidator covering the usual maximum of $4,000 in debt would receive about $4,200 of WETH: $4,000 matching the repayment and $200 as the bonus. About $5,600 of WETH and $4,000 of debt would remain. At those unchanged prices and threshold, the resulting health factor would be about 1.12.

Now take the same original position after WETH falls to $9,400. Its health factor is 0.94. One liquidator can then repay the full $8,000 debt and receive about $8,400 of WETH under the same assumed 5% bonus. Roughly $1,000 of WETH remains and the debt is cleared. The bonus cost is about $400, compared with $200 on the half-debt call. The fall in WETH’s market value is a separate loss.

That is why crossing 0.95 changes the borrower’s next move. Just below 1, the 50% cap limits how much debt a single call can close; it does not reserve half the collateral for the borrower. At 0.95 or lower, a single call can close the entire debt and take the bonus on that larger repayment. The liquidator may choose a smaller amount, but the borrower cannot rely on that choice.

Repayment or more collateral raises the health factor

A borrower raises the health factor by reducing debt or increasing eligible collateral. Repaying DAI reduces the denominator in the calculation. Adding WETH collateral increases the liquidation-adjusted value in the numerator. Either action matters only once it takes effect; a pending transaction does not prevent another party from liquidating an eligible position.

Aim for room above 1 rather than stopping exactly at the boundary. The room needed depends on how much the collateral price could move and how quickly interest grows. Once collateral has been seized, raising the health factor protects what remains; it does not return the bonus already paid.

How is SparkLend health factor calculated?

For several collateral assets, add each asset’s value multiplied by its liquidation threshold, then divide by total debt: health factor = Σ(collateral value × liquidation threshold) ÷ debt. The oracle values used in that calculation can change; SparkLend’s pricing draws on feeds including Chainlink and Chronicle. Use the current values and thresholds when deciding how much to repay or supply.

What is a good health factor on SparkLend?

A useful health factor leaves enough room for the price and interest changes your position could face before you can act. A value barely above 1 offers little room, while 0.95 or lower permits the full debt to be covered in one liquidation call. Choose a buffer based on the volatility of your collateral and the size of your debt.

SparkLend liquidation alerts

An alert is useful when it gives you time to act above 1. Set a warning level that leaves room for an adverse price move, then use it to reassess your debt, collateral and current health factor. If the position is already below 1, prioritize the repayment or collateral addition needed to restore that margin.