Line 103 uses i_weth.transfer() -- the raw IERC20 method. While SafeERC20 is imported and activated (using SafeERC20 for IERC20), the .transfer() call resolves to the native IERC20 method, not safeTransfer(). For tokens that don't return a bool (e.g. USDT), this would revert.
Likelihood:
Works with current mock but breaks with non-standard tokens.
Impact:
Fee collection permanently reverts, locking all accumulated WETH and ETH fees.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.