CANTORFI RISK GUIDE
DeFi liquidations, explained
A DeFi liquidation happens when a borrower's collateral is no longer worth enough to secure the debt. Anyone may then repay part of the debt and receive the borrower's collateral at a discount. There is no margin call and no grace period: the rule is in the contract, and bots apply it within seconds.
The health factor
A lending protocol gives each collateral a liquidation threshold, for example 80%. The health factor is the collateral value multiplied by that threshold, divided by the debt. Above 1, the position is safe. At 1 or below, it can be liquidated.
With 10,000 dollars of collateral at an 80% threshold and 6,000 dollars of debt, the health factor is 1.33. If the collateral falls to 7,500 dollars, it reaches 1 and liquidation becomes possible.
What the liquidator does and earns
A liquidator repays some of the debt and takes collateral worth that amount plus a bonus, typically 5% to 10%. The borrower keeps what is left, having lost the bonus. Many protocols cap how much of the debt can be repaid in one call, so a position is often liquidated in steps.
Why bots do it
Liquidations are open to everyone, so they are a race. Bots watch every position, simulate the call as soon as a price update makes it profitable and pay higher fees to be included first. Flash loans let them repay the debt with borrowed funds and settle in the same transaction, so a liquidator needs no capital of its own.
When collateral and debt are the same token
In a single-asset vault, such as CantorFi's, a user borrows the same token they supplied. A price fall does not change the ratio between the two, because both sides move together. What grows is the debt, through interest.
In CantorFi's Base Sepolia preview, liquidation follows each vault's own parameters and positions are monitored by a keeper.
How to avoid liquidation
Liquidation is avoidable when the position is managed before the threshold, not at it.
- Borrow well below the maximum
- Watch the health factor, not the price
- Repay or add collateral before a volatile event
- Know the liquidation bonus you would pay
Testnet evidence is not mainnet performance.
CantorFi's current public deployment is a Base Sepolia developer preview with temporary governance. Test balances, rates, volume, fees and positions have no economic value and must not be reported as production TVL, revenue, liquidity or guaranteed return.
FAQ
Questions about DeFi liquidations
01What triggers a liquidation in DeFi?
A health factor at or below 1: the collateral, weighted by its liquidation threshold, no longer covers the debt.
02Do I lose all my collateral when I am liquidated?
No. The liquidator takes collateral worth the debt repaid plus the bonus; the rest stays yours.
03What is a liquidation bot?
A program that watches lending positions and sends the liquidation call as soon as it is allowed and profitable.
04Can I be liquidated without a price drop?
Yes. Interest increases the debt over time, and a change in the protocol's parameters can lower the threshold.