Fee structure

All the fee are with respect to the PERCENTAGE_PRECISION.

Swap Fee

There are 2 fee tiers:

The fee tier is determined when it was created. The swap fee accumulates in the Pair but will not be considered as part of the liquidity. To collect swap fee, please refer to Collect Swap Fee.

Protocol Fee

Protocol fee is the fee that will be collected every swap and transferred to the feeTo address specified in the SeacowsPositionManager.

  • Max Protocol Fee = 10%

  • Default Protocol Fee = 0.3%

The protocol fee can be configured by Royalty Fee Manager. See royaltyFeeManager.

The max protocol fee is a constant in the pair contract. See MAX_PROTOCOL_FEE_PERCENT.

Royalty Fee

Last updated