Instant Withdrawals (LST -> Native Token)
Last updated
Was this helpful?
Last updated
Was this helpful?
This swap type is the primary purpose of the pool: to process instant withdrawals for LST holders, and earn APY on trading volume for LPs.
User initiates a swap by calling swap()
on the Sovereign Pool.
The Swap Fee Module calculated the dynamic swap fee using the Ratio Fee Formula.
The Liquidity Module determines the true peg of the LST by calling the LST protocol contracts.
If there is enough Native Token in the pool to fulfill the swap, Native Token is transferred from the pool to the user.