Swap
Last updated
Last updated
The Trader initiate the Swap flow:
Trader buys 5 NFT from the pair with 10 Token + 1% swap fee + 0.3% protocol fee
0.1 Token as Swap fee saves in the Pair contract but will not be mixed with the reserves in the Pair
0.03 Token as Protocol fee send to the feeTo
address specified in the SeacowsPositionManager
It follows the constant product formula x * y = k
on the reserves.