LEEQUID
  • 👋 Welcome
  • Navigating LEEQUID
    • 🌱 Staking
      • The staking protocol
      • Matching stake to unstake requests
      • Potential wait times while staking
      • Deposited LYX lifecycle
      • Importing sLYX to your wallet
    • 🍇 Collecting rewards
      • Reward distribution in the LEEQUID protocol
      • Auto-compounding
      • Withdrawing rewards
      • Reward calculation in Proof of Stake
    • 🍂 Exiting the protocol
      • Option 1: swapping sLYX for LYX
      • Option 2: unstaking through the staking pool
      • Matching unstake to stake requests
      • Potential wait times while unstaking
    • 🍷 Claiming
      • Claim queued stake
      • Claim unstaked LYX
      • Claim rewards
    • 🔄 Swapping
      • LYX for sLYX: An instant alternative to staking
      • sLYX for LYX: an instant alternative to exiting
      • Providing liquidty
      • Providing Liquidity: a practical example
  • LEEQUID in depth
    • 🔐 Protocol security and risks
      • Security overview
      • Smart contract code correctness
      • Slashing and unexpected validator behaviour
      • sLYX token: economic balance
      • Validator key management
    • 📃 Smart contracts
      • Oracles
      • Merkle Distributor
      • Rewards
      • Pool
      • StakedLyxToken
      • FeesEscrow
    • 💧 The sLYX token
      • Acquiring sLYX
      • 1:1 ratio with LYX
      • Potential unpeg of sLYX from LYX
    • 💦 The liquidity pool (DEX)
      • Implementation
  • Incident Response
    • Contacts
    • Vulnerability Disclosure Policy
Powered by GitBook
On this page
  1. Navigating LEEQUID
  2. 🔄 Swapping

sLYX for LYX: an instant alternative to exiting

Last updated 1 year ago

Instead of exiting the LEEQUID protocol through the staking pool, users are presented with the option of instantly swapping their sLYX for LYX coins. The two operations are equivalent as they both have the outcome of reducing a user's balance of sLYX and increasing the balance of LYX in the user's wallet.

However, if it is true that one always gets a 1:1 ratio by exiting through the staking pool, the same is not the case with swapping through the liquidity pool. The amount of LYX returned will vary according to the current ratio of the pool and can be higher or lower at a given time. On the other hand, swapping is instant as it dodges any of the .

There is a 0.3% fee on every swap made through the LEEQUID liquidity pool. This fee is called the "Liquidity Provider fee" and is evenly distributed between users who provide liquidity for the LYX/sLYX token pair.

When a user decides to swap, the sLYX to LYX ratio will be close to, but not exactly 1 to 1. Either the swap will occur at a slight profit or a slight loss. The total amount of LYX obtained from the swap will depend on:

  • the amount of sLYX being swapped in the transaction (the volume of the transaction)

  • the current ratio of the pool

  • the amount of liquidity in the pool

  • the swap fee (0.3%)

exiting waiting periods