According to the err msg here, the check should be inclusive <= :
require(swapFee_ < SWAP_FEE_DIVISOR, "Swap::setSwapFee: Swap fee must not exceed 100%");
Recommended Mitigation Steps
require(swapFee_ <= SWAP_FEE_DIVISOR, "Swap::setSwapFee: Swap fee must not exceed 100%");
Handle
pauliax
Vulnerability details
Impact
According to the err msg here, the check should be inclusive <= : require(swapFee_ < SWAP_FEE_DIVISOR, "Swap::setSwapFee: Swap fee must not exceed 100%");
Recommended Mitigation Steps
require(swapFee_ <= SWAP_FEE_DIVISOR, "Swap::setSwapFee: Swap fee must not exceed 100%");