> For the complete documentation index, see [llms.txt](https://pu239.gitbook.io/pu239/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pu239.gitbook.io/pu239/core-features/frozen-markets-and-reserves.md).

# Frozen Markets and Reserves

#### How to Freeze a Reserve or Market in Pu239 Protocol

To freeze a reserve in the Pu239 protocol, utilize the `setReserveFreeze` function found in the PoolConfigurator contract, which is applicable to every Pu239 market. Only individuals with the RiskAdmin or PoolAdmin role have the authority to carry out this action. These roles are managed by Pu239 Governance (or the Guardian multisig on networks that do not have a governance bridge), which also has the power to delegate these roles to other users.

#### Implications of a Frozen Reserve

When a reserve is frozen, several activities are restricted, including adding new funds, issuing new loans, or changing interest rates from variable to stable and vice versa. Nevertheless, users can still repay loans, withdraw funds, handle liquidations, and earn interest on stable rate loans.

#### Unfreezing a Reserve or Market

It is possible to unfreeze a reserve or market using the same method and contract function used for freezing, as long as the conditions allow for lending and borrowing activities to resume.

#### Pausing a Reserve

Pausing a reserve involves stopping all related activities, such as adding funds, borrowing, repaying loans, adjusting interest rates, handling liquidations, or transferring aTokens. The roles and procedures for freezing and unfreezing a reserve are similar to those for pausing and unpausing, which are facilitated through the `setReservePause` function.


---

# 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://pu239.gitbook.io/pu239/core-features/frozen-markets-and-reserves.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.
