> For the complete documentation index, see [llms.txt](https://docs.hashstack.finance/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hashstack.finance/hub/concepts/liquidations.md).

# Liquidations

Hashstack uses a dual-liquidation methodology to ensure loans get liquidated in time, removing bad debt from the protocol. Dual-liquidation involves community-backed liquidations along with protocol-backed liquidations. When a loan becomes liquidable, we allow the community to liquidate. However, if the health factor drops further, protocol-managed liquidation bots come into action to remove loans before they create losses.&#x20;

The health factor is used to determine when a loan can be liquidated and who can liquidate loans at which state. (More about health factor [here](https://docs.hashstack.finance/developers/supply-and-borrow/borrow/health-factor)).

1. Hf > 109% - Healthy loan
2. 109% ≥ Hf > 106% - Liquidation call
3. Hf ≤ 106% - Liquidable by anyone
4. Hf ≤ 104.5% - Liquidable by protocol

Hashstack currently uses [pragmaoracle.com](https://pragmaoracle.com) (formerly Empiric) as its trusted oracle. The oracle is used at various points in the contracts:

1. Determining the amount of leverage allowed based on the collateral and requested loan USDT value.
2. Computing if a loan is liquidable.
3. Allowing slippage in L3 integrations (Todo).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hashstack.finance/hub/concepts/liquidations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
