Description: The collectFee
function uses unsafe transfer()
method for WETH tokens instead of the recommended safeTransfer()
, which can fail silently and lock funds in the contract permanently.
Additionally, the function defines a FeeCollected()
event but never actually emits it.
Impact: Fee collection can fail, locking funds permanently in the contract.
Recommended Mitigation: Use safe transfer methods and proper error handling:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.