Skip to main content

Liquidations

Initiate a loan​

The borrower needs to first supply a supported asset as collateral in a Liqwid market to be able to open a loan. Each supplied asset will unlock some value the user may borrow against depending on the assets assigned collateral factor.

Once the asset type and amount are selected, the borrowed assets are transferred from the market directly to the borrower's connected wallet. The maximum amount to borrow is determined by the collateral factor set by the margin system for the asset type the user supplied as collateral.

Example: In the situation where 1 ADA has an exchange rate of 2 USD, the borrower is depositing 1,000 ADA as collateral. The market value of the collateral is USD 2,000. With an example collateral factor of 70%, 70% x USD 2,000 = USD 1,400. This is the maximum amount to be borrowed before the user reaches negative account liquidity and risks liquidation.

Liquidation Example

Loan origination fee​

Each market can charge a loan origination fee when a loan is opened. The fee is a market parameter set through governance, and any fee that applies is shown in the borrow modal before you submit the transaction.

Repay a loan​

You must repay your full loan in the asset you borrowed.

For example, if you borrow 100 ADA you will pay back 100 ADA principal + interest accrued when you repay the loan.

Borrowers can repay or add collateral at any time — even when their Health Factor (HF) is below 1 — as long as their transaction reaches the chain before a liquidator acts.

Liquidation events​

During the lifecycle of a loan, the liquidity cushion could reach zero or the account liquidity approaches negative. This occurs when the value of the collateral is falling relative to the value of the borrowed asset plus accrued interest.

To actively remove the credit risk of the protocol, materialized by the exposure to defaulting loans, a liquidation incentive exists. Any user (liquidator) can repay part or all of an undercollateralized loan's debt in the borrowed asset, either with a liquidation bot or directly within the Liqwid app UI. In return, the liquidator receives part of the borrower's collateral, worth the repaid debt plus a liquidation bonus. Liquidation bonuses for each collateral are displayed in the market's details page.

Each collateral in a market has its own liquidation bonus. This means successful liquidators receive the borrower's collateral at a discount when they repay an underwater loan in part or in full. E.g. with a 10% liquidation bonus, a liquidator who repays a defaulted loan receives the seized collateral with a 10% bonus applied.

*Note: the liquidation bonus is a governance configurable parameter used to incentivize liquidators/bot operators to repay underwater loans. The parameter is subject to changes based on market conditions. Liquidators should pay attention to discussions on the Liqwid governance forum for liquidation bonus parameter updates and liquidation bonus parameters set for new markets.

Example: In the situation where the ADA exchange rate drops from 1 ADA = 2 USD to 1 ADA = 1.5 USD. The market value of the collateral is USD 1,500 and the collateral value is USD 1,050. If the borrowed amount (principal + interest) is greater than the adjusted collateral value (USD 1,050), the loan can be liquidated.

Liquidation Process

Liquidation process​

Any user can initiate the liquidation of a loan having a Health Factor below 1. These loans are shown in the app UI page "Liquidation". Liquidators can also repay defaulting loans using the open source liquidation bots.

In a liquidation, the liquidator repays some or all of the loan's debt from their own wallet in the borrowed asset. In the same transaction, they receive the borrower's collateral, worth the repaid amount plus the liquidation bonus for that collateral (shown in the market's details page). How much of the debt can be repaid in a single liquidation is capped by the market's close factor, so a loan may be partially liquidated, with the rest of its debt and collateral staying in the loan. Depending on the collateral's parameters, a share of the seized collateral can go to the protocol treasury instead of the liquidator.

The protocol itself never auto-liquidates or issues margin calls; liquidations occur only when a third party executes the transaction. As long as no liquidator has acted, the borrower still retains control: they can add collateral or repay to restore their Health Factor to above 1.

Important notes

  • Because liquidators are financially incentivized, loans below HF = 1 are typically liquidated quickly. However, if no liquidators step in (e.g. during network congestion or a rapid market crash), the position remains open and undercollateralized until someone does.
  • In such cases, the collateral stays in the contract; it is not "frozen forever," but its value may continue to fall, leading to bad debt if the debt eventually exceeds the collateral's value.
  • Bad debt represents a loss to the market suppliers until the protocol rebalances through future liquidations and repayments.

No margin calls

Liqwid does not issue margin calls or automatically request additional collateral. It is the user's responsibility to monitor their Health Factor and manage their loan.

Summary

  • HF > 1: Loan is healthy.
  • HF ≤ 1: Loan can be liquidated at any time.
  • Borrower may still repay or add collateral until a liquidator acts.
  • No automatic margin call — self-managed risk.
  • If debt > collateral and no liquidation occurs, the position becomes bad debt (loss shared by suppliers).