The FeesHandlerUpgradeable contract lacks slippage protection mechanisms for users when txFeeRate and gaslessBasefee can change between transaction submission and execution, potentially resulting in users receiving less tokens than expected.
Here is the code:
Consider adding a timelock for fee changes to provide users protection against unexpected fee changes. This solution provides several benefits:
