According to the https://docs.pancakeswap.finance/trade/pancakeswap-infinity/pool-types, dynamic fee pools should have 0% protocol fee.
However, pools created with DYNAMIC_FEE_FLAG are currently being charged 0.03% protocol fee.
Evidence:
I deployed a hook on Base mainnet implementing beforeSwap with proper lpFeeOverride and DYNAMIC_FEE_FLAG:
I suspect the root cause is in ProtocolFeeController.sol, line 39: uint24 public defaultProtocolFeeForDynamicFeePool = 300; // 0.03%
Could you please clarify whether:
- The implementation should be updated to match the documented 0% protocol fee, or
- The documentation should be updated to reflect the actual 0.03% fee Thank you!
According to the https://docs.pancakeswap.finance/trade/pancakeswap-infinity/pool-types, dynamic fee pools should have 0% protocol fee.
However, pools created with DYNAMIC_FEE_FLAG are currently being charged 0.03% protocol fee.
Evidence:
I deployed a hook on Base mainnet implementing beforeSwap with proper lpFeeOverride and DYNAMIC_FEE_FLAG:
I suspect the root cause is in ProtocolFeeController.sol, line 39: uint24 public defaultProtocolFeeForDynamicFeePool = 300; // 0.03%
Could you please clarify whether: