Normal Behavior: The buySnow function should mint Snow tokens after verifying correct ETH or WETH payment, ensuring protocol revenue.
Specific Issue: The function’s payment logic allows incorrect ETH amounts to trigger WETH transfers without explicit validation, leading to reverts if WETH transfers fail (e.g., insufficient balance/allowance).
Likelihood:
Occurs when users send incorrect ETH and lack WETH balance/allowance, causing reverts.
Zero amount calls are processed, emitting SnowBought(0) events, common in user errors or bot interactions.
Impact:
Transaction failures confuse users, degrading experience and trust.
Zero-amount transactions waste gas and mislead analytics, potentially affecting economic models.
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.