Description:
Calling Snow::buySnow
function resets the users earn timer, making they must wait again until the period between earns (a week) has passed.
Impact:
Users will lose any unclaimed rewards until the buying execution.
Proof of Concept:
Add the following after the TestSnowmanAirdrop
test suite:
Recommended Mitigation:
On Snow.sol::buySnow
function:
When buySnow is successfully called, the global timer is reset. This inadvertently affects the earning of snow as that particular action also depends on the global timer.
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.