Normal: buySnow(amount) should give amount whole tokens for the correct fee.
Bug: s_buyFee = _buyFee * 10**18 (fee per whole token), but _mint(msg.sender, amount) uses amount as wei. With _buyFee = 5:
Expected: pay 5 ETH, get 1 whole Snow (10^18 wei)
Actual: pay 5 ETH, get 1 wei (10^-18 Snow)
User overpays by 10^18x
Likelihood: Certain — deterministic mismatch
Impact: HIGH — Users pay for whole tokens, receive wei-level amounts
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.