fx Docs
  • f(x) Protocol Documentation
  • OVERVIEW
    • πŸ“–Abstract
    • ⭐Core Products of f(x) Protocol 2.0
  • f(x) Protocol Mechanisms
    • βš–οΈThe f(x) Invariant
    • βš™οΈKey Functions of f(x) 2.0
    • πŸš€Creating a Leveraged Position (xPOSITION)
    • πŸͺ‚Rebalancing the Position (Liquidation Brake)
      • Understanding the band system
      • Liquidation process
      • Developers
    • πŸ’°Stability Pool
    • πŸ’΅Fees
  • RISK MANAGEMENT
    • πŸ§˜β€β™‚οΈRisk framework
    • βœ…Advanced Peg Protection Mechanisms
      • Understanding the redemption mechanism
    • 🚨Risk parameters
    • 🧭Oracle
      • stETH
      • WBTC
    • πŸ›‘οΈAudit Reports
  • Earn with f(x)
    • πŸ’²USD high & sustainable yield
    • πŸͺ™$FXN Tokenomics
      • veFXN
      • FXN Farming and veFXN Boost
    • πŸ”₯Protocol Revenue & Distribution
  • POWER TO THE PEOPLE
    • 🀝Get involved - Community Booster Program
    • πŸ«‚Referral Program
  • FAQ
    • 🟦Is fxUSD an algorithmic stablecoin?
    • 🟦Where does the yield come from?
    • 🟦How do f(x) Protocol stablecoins maintain stability?
    • 🟦Is there any LUNA-like risk?
    • 🟦How does f(x) Protocol minimize liquidations?
    • 🟦How does f(x) Protocol minimize funding costs?
    • 🟦What could go wrong?
    • 🟦Why are there different stablecoins?
    • 🟦What is the difference between f(x) Protocol V1 and V2?
    • 🟦What price drop would it require for my xPOSITION to be rebalanced/liquidated?
  • GUIDES
    • πŸ“ˆHow to open a leverage position (xPOSITION)
    • πŸ“‰How to close a leverage position (xPOSITION)
    • πŸ“How to adjust your leverage / how to reduce your Liquidation Brake
    • βž•How to add/reduce a leverage position?
    • πŸ’°How to stake into the stability pool?
    • πŸšΆβ€β™‚οΈHow to unstake from the stability pool?
  • MORE
    • πŸ”‘Token Breakdown
    • 1️⃣f(x) Protocol 1.0
      • Leverage
      • Earn
      • Stability Mechanism
      • FX Auto-Compound
      • Oracle
    • πŸ–₯️Resources
      • Contracts
      • Useful links
    • πŸͺ”Aladdin DAO
    • 😎 Brand Assets
Powered by GitBook
On this page
Export as PDF
  1. f(x) Protocol Mechanisms

Stability Pool

PreviousDevelopersNextFees

Last updated 1 month ago

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 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.

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 (another protocol built by ). 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.

Learn how to deposit into the Stability Pool and earn Stable yield πŸ‘‡

πŸ’°
Aave
Concentrator
Aladdin DAO
πŸ’°How to stake into the stability pool?