Description: The Snow::collectFee() function calls i_weth.transfer() to send collected WETH to the collector. However, it does not check the return value of the transfer() call. While this isn't dangerous in the current context (where the protocol controls the WETH contract), failing to check return values violates best practices and could silently fail in future upgrades or token changes.
Impact:
If transfer() fails silently, fees will not be collected, but the protocol will behave as if they were.
Creates confusion or inconsistencies during audits or operations.
May break invariants if token contracts are updated or swapped in the future.
Proof of Concept:
Recommended Mitigation:
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.