Swap Process
The liquidity provider (lp) deposits a balance for two token pairs.
When a user executes a swap contract for a token pair, the token is exchanged according to the calculated rate.
At this time, the liquidity provider will be paid the lp token as a fee according to the lp ratio.
Liquidity providers receive a premium as a token and b token based on the percentage of lp tokens and the total amount of reserve fee when withdrawing deposits.
Remittance failed if liquidity pool does not exist for token pair
Remittance failure if payment reserve is less than remittance quantity
Last updated