# Recovery Mode

#### What is Recovery Mode? <a href="#what-is-recovery-mode" id="what-is-recovery-mode"></a>

Recovery Mode kicks in when the [Total Collateral Ratio (TCR)](https://docs.powercity.io/earn-protocol/definitions)[ ](https://docs.powercity.io/flex-protocol/definitions)of the system falls below `150%`.

During Recovery Mode, Vaults with a collateral ratio **below 150%** can be liquidated.

Moreover, the system blocks borrower transactions that would further decrease the TCR. New HEXDC may only be issued by adjusting existing Vaults in a way that improves their collateral ratio, or by opening a new Vault with a collateral ratio`>=150%`. In general, if an existing Vault's adjustment reduces its collateral ratio, the transaction is only executed if the resulting TCR is above `150%`.

#### What is the Total Collateral Ratio? <a href="#what-is-the-total-collateral-ratio" id="what-is-the-total-collateral-ratio"></a>

The Total Collateral Ratio or TCR is the ratio of the Dollar value of the entire system collateral at the current HEX:USD price, to the entire system debt. In other words, it's the sum of the collateral of all Vaults expressed in USD, divided by the debt of all Vaults expressed in HEXDC.

#### What is the purpose of Recovery Mode? <a href="#what-is-the-purpose-of-recovery-mode" id="what-is-the-purpose-of-recovery-mode"></a>

The goal of Recovery Mode is to incentivize borrowers to behave in ways that promptly raise the TCR back above 150%, and to incentivize HEXDC holders to replenish the Stability Pool.

Economically, Recovery Mode is designed to encourage collateral top-ups and debt repayments, and also itself acts as a self-negating deterrent: the possibility of it occurring actually guides the system away from ever reaching it. Recovery Mode is not a desirable state for the system.

#### **What are the fees during Recovery Mode?** <a href="#what-are-the-fees-during-recovery-mode" id="what-are-the-fees-during-recovery-mode"></a>

While Recovery Mode has no impact on the redemption fee, the borrowing fee is set to `0%` to maximally encourage borrowing.

#### **How can I make my Vault safe in Recovery Mode?** <a href="#how-can-i-make-my-vault-safe-in-recovery-mode" id="how-can-i-make-my-vault-safe-in-recovery-mode"></a>

By increasing your collateral ratio to `150%` or greater, your Vault will be protected from liquidation. This can be done by adding collateral, repaying debt, or both.

#### Can I be liquidated if my collateral ratio is below `150%` in Recovery Mode? <a href="#can-i-be-liquidated-if-my-collateral-ratio-is-below-150-in-recovery-mode" id="can-i-be-liquidated-if-my-collateral-ratio-is-below-150-in-recovery-mode"></a>

Yes, you can be liquidated below `150%` if your Vault's collateral ratio is smaller than 150%. In order to avoid liquidation in Normal Mode and Recovery Mode, a user should keep their collateral ratio above `150%`.

#### How do liquidations work in Recovery Mode? <a href="#how-do-liquidations-work-in-recovery-mode" id="how-do-liquidations-work-in-recovery-mode"></a>

* ICR = Individual Collateral Ratio
* MCR = Minimum Collateral Ratio
* TCR = Total Collateral Ratio
* SP = Stability Pool

| **Condition**                              | **Liquidation Behavior**                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ICR <=100%                                 | Redistribute all debt and collateral (minus PLS gas compensation) to active Vaults.                                                                                                                                                                                                                                                                                                                |
| 100% < ICR < MCR & SP HEXDC > Vault debt   | HEXDC in the Stability Pool equal to the Vault's debt is offset with the Vault's debt. The Vault's HEX collateral (minus PLS gas compensation) is shared between depositors.                                                                                                                                                                                                                       |
| 100% < ICR < MCR & SP HEXDC < Vault debt   | The total Stability Pool HEXDC is offset with an equal amount of debt from the Vault. A fraction of the Vault's collateral (equal to the ratio of its offset debt to its entire debt) is shared between depositors. The remaining debt and collateral (minus PLS gas compensation) is redistributed to active Vaults.                                                                              |
| MCR <= ICR < 150% & SP HEXDC >= Vault debt | The Stability Pool HEXDC is offset with an equal amount of debt from the Vault. A fraction of HEX collateral with dollar value equal to `1.1 * debt` is shared between depositors. Nothing is redistributed to other active Vaults. Since its ICR was `> 1.1`, the Vault has a collateral remainder, which is sent to the `CollSurplusPool` and is claimable by the borrower. The Vault is closed. |
| MCR <= ICR < 150% & SP HEXDC < Vault debt  | Do nothing.                                                                                                                                                                                                                                                                                                                                                                                        |
| ICR >= 150%                                | Do nothing.                                                                                                                                                                                                                                                                                                                                                                                        |

#### How much of a Vaults collateral can be liquidated in Recovery Mode? <a href="#how-much-of-a-vaults-collateral-can-be-liquidated-in-recovery-mode" id="how-much-of-a-vaults-collateral-can-be-liquidated-in-recovery-mode"></a>

In Recovery Mode, liquidation loss is capped at `110%` of a Vault's collateral. Any remainder, i.e. the collateral above `110%` (and below the TCR), can be reclaimed by the liquidated borrower using the standard web interface.

This means that a borrower will face the same liquidation “penalty” (`10%`) in Recovery Mode as in Normal Mode if their Vault gets liquidated.


---

# Agent Instructions: 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:

```
GET https://docs.powercity.io/flex-protocol/recovery-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
