# Stability Pool

Stability Pool is a cornerstone of the protocol, designed to maintain system stability and provide rewards for participants.

**1. Purpose and Rewards**

Users can deposit fxUSD or USDC into the Stability Pool to either earn:\
\- wstETH and WBTC (converted to wstETH) coming from xPOSITION fees and reserve yield and [Aave](https://forum.aladdin.club/t/fip-12-deploy-wsteth-to-aave-protocol/575) yields.\
\- Or $FXN emissions.\
This incentivizes participation and strengthens the protocol’s resilience.

**2. Peg Stabilization**

The Stability Pool ensures that fxUSD maintains its peg to USD through automatic swaps between fxUSD and USDC based on exchange conditions:

* If fxUSD is undervalued: The pool swaps USDC for fxUSD to restore the peg.
* If fxUSD is overvalued: The pool swaps fxUSD for USDC to stabilize its price.

These adjustments are executed using Chainlink oracle prices to ensure accurate valuations, offering price stability while optimizing returns for users.

**3. Depeg Protection**

In the rare event of a USDC depeg, the protocol halts peg maintenance and temporarily disables deposits to safeguard users and uphold system integrity.

**4. Rebalance and Liquidation Procedures**

When necessary, the protocol redeems fxUSD from the Stability Pool. If the pool lacks sufficient fxUSD, the USDC obtained is used to repurchase fxUSD at a ratio not exceeding 1:1, thereby stabilizing the peg.<br>

**5. Asynchronous or Synchronous Execution**

Depending on market conditions, these operations can be carried out synchronously or asynchronously. This flexibility ensures sufficient liquidity while maintaining the fxUSD peg and supporting the overall stability of the system.

### fxSAVE

fxSAVE is the tokenized stability pool built by [Concentrator](https://concentrator.aladdin.club/) (another protocol built by [Aladdin DAO](https://fxprotocol.gitbook.io/fx-docs/more/aladdin-dao)). It is a 4626 vault that automatically compounds all wstETH and WBTC rewards into more fxUSD and USDC. \
Another way of describing fxSAVE is that it is a yield-bearing stablecoin that harnesses the Stability Pool's yields.

{% hint style="info" %}
Looking at integrating fxSAVE into your protocol or automating deposits and withdrawals? Check our [developer](https://fxprotocol.gitbook.io/fx-docs/developers/integrating-fxsave) docs. fxSAVE is fully integrated into Enso to facilitate interactions from any chain.
{% endhint %}

\
Learn how to deposit into the Stability Pool and earn Stable yield 👇<br>

{% content-ref url="../guides/how-to-stake-into-the-stability-pool" %}
[how-to-stake-into-the-stability-pool](https://fxprotocol.gitbook.io/fx-docs/guides/how-to-stake-into-the-stability-pool)
{% endcontent-ref %}


---

# 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://fxprotocol.gitbook.io/fx-docs/f-x-protocol-mechanisms/stability-pool.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.
