# Key Functions

**Minting and Redeeming fxUSD, Opening and Closing xPOSITION:**

* Users can mint fxUSD and open xPOSITION by providing stETH as collateral.
* The system dynamically adjusts leverage ratios and fxUSD minting to maintain stability.

**Rebalancing Operations:**

* Automatically adjusts leveraged positions to safe levels, avoiding liquidation risk.

**Liquidation Mechanism:**

* If rebalancing fails, the protocol initiates liquidation, redeeming associated fxUSD to minimize losses.

**Stability Pool:**

* Provides yield opportunities while acting as a peg protector for fxUSD.
* Maintains price stability through arbitrage operations.


---

# 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.aladdin.club/f-x-protocol-new/f-x-2.0/key-functions.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.
