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

# Basic Mechanics

Liquidation transfers collateral and its associated UNIT debt from an eligible target into a liquidator's vault. It does not burn the debt at takeover. The liquidator must later repay active UNIT to remove that obligation.

### Eligibility and authorisation

An encumbered vault commits to one or more oracle threshold hashes. A liquidation spend requires a preimage matching one of those commitments and an authorised guardian-group signature. The borrower's signature is not required.

The 135% liquidation threshold in the [published UNIT/USD parameters](https://docs.ducatprotocol.com/how-ducat-works/protocol-parameters.md) is used to construct and validate the price commitments. Bitcoin itself checks the hashlock and signature, not a BTC/USD ratio.

A revealed key proves knowledge of the committed preimage; it does not prove that the current price is still below the threshold. Fresh signing checks also require the settlement price to be at or below the threshold associated with the presented preimage.

### Full and partial liquidation

| Action   | Target state after liquidation                                                                                                                               | Liquidator's obligation                                               |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| **Repo** | Fully transfers the debt of one or more target vaults. Each target retains a Cleared output at the required minimum under its existing ownership conditions. | Absorbs exactly the sum of the targets' transferred debts.            |
| **Trim** | Transfers part of one target's debt and the corresponding collateral. The target retains a successor with the remaining debt and collateral.                 | Absorbs the claimed debt; the target's debt falls by the same amount. |

The target's retained minimum is excluded from the net collateral available for the liquidation. A Repo does not hand the original owner's entire gross BTC output to the liquidator. A Trim must preserve a valid remaining position and obey the minimum-debt and output rules.

### Settlement flow

<figure><img src="https://3381100491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZOzQaoopNKdgkYJmuRPt%2Fuploads%2Fgit-blob-e76821de14325faf7c0599b7a317fe30d9b9eb3f%2Fgitbook-liquidation-flow.png?alt=media" alt="Repo or Trim transfers eligible collateral and debt into the liquidator successor, with any required reserve deduction and target remainder. Later UNIT repayment clears the liquidator vault; a separate Close returns BTC after fees."><figcaption><p>Liquidation, repayment &#x26; close</p></figcaption></figure>

The settlement calculation uses the minimum authenticated base price in the liquidator's post-action commitments. Target threshold prices establish eligibility; they are not automatically the settlement price.

Before signing, the liquidator's resulting vault must meet the applicable minimum collateral ratio, 160% for the published UNIT/USD anchor. Existing excess collateral can contribute; otherwise the liquidator supplies additional BTC. Fees, the reserve deduction and retained minimums affect the required contribution.

The reserve payment goes to the recipient configured in the applicable anchor. The rebate reduces that deduction; it is not a separate reward-token issuance.

### What completes liquidation?

Repo or Trim completes the transfer of debt and collateral when its Bitcoin transaction is confirmed and its protocol state is reconstructed. It does not complete the liquidator's eventual exit.

The liquidator may keep the resulting indebted position open. To close it, they must obtain sufficient active UNIT, complete repayment and then close the Cleared vault. Neither the protocol accounting nor the oracle guarantees that UNIT will be available to buy at $1.

These are the rules for constructing and authorising a new liquidation. Confirmed replay also preserves policy diagnostics where applicable; see [Validators](https://docs.ducatprotocol.com/how-ducat-works/validators.md). For reserve calculations and profit, see [Profit Settlement](https://docs.ducatprotocol.com/liquidations/profit-settlement.md).
