Liquidity
To be able to swap 2 tokens at any time we need liquidity and to add liquidity we need to send a "proof of deposit" to users (Liquidity Pool token)
At this stage only the owner of the contract (us) can call the function to create a new liquidity pool. If you want to enable swap on our application please contact us.
Must send 0,05 EGLD to pay ESDT creation
The resulting esdt ticker will be saved in pool information
We need to call this function once to allow the SC to mint and burn the LP token
If this is the very first deposit, the SC will consider the two amounts as the exchange ratio to be applied
If it is an addition of liquidity, the contract will calculate the maximum possible ratio and return the surplus to the user.
In both cases, the user will receive an amount of LP tokens corresponding to his participation rate in the liquidity provision
The user can send his LP tokens to the SC by specifying the pairs concerned, he will receive in exchange his shares of the liquidity in place.
Last updated