Swap

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 theSeacowsPositionManager
It follows the constant product formula
x * y = k
on the reserves.
Last updated