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

Deposited LYX lifecycle

Last updated 1 year ago

When a user stakes LYX through the LEEQUID staking pool, the coins are transferred to the Pool contract, where they will sit for a few minutes until LEEQUID’s oracles detect an amount larger than 32 LYX sitting on the Pool contract. This is the condition that triggers the Oracles to register a new validator, transferring the stake from the Pool to the LUKSO official deposit contract. From here, the tokens can either be burned in the case of slashing, or sent to the withdrawal address when the validator exits the protocol.

The diagram above illustrates the non-custodial flow of funds from the user address into the LEEQUID protocol and finally to the official deposit contract of LUKSO. Once in there, the LUKSO contract has control over the staked amounts and can use it to slash the validators in case of bad behavior or give it back, once an exit request successfully goes through.

LYX flow from the LEEQUID protocol to the LUKSO deposit contract