Swap

The Trader initiate the Swap flow:

  1. Trader buys 5 NFT from the pair with 10 Token + 1% swap fee + 0.3% protocol fee

  2. 0.1 Token as Swap fee saves in the Pair contract but will not be mixed with the reserves in the Pair

  3. 0.03 Token as Protocol fee send to the feeTo address specified in the SeacowsPositionManager

  4. It follows the constant product formula x * y = k on the reserves.

Last updated