s_earntimer
State Update in Snow::buySnow
Function.The s_earntimer
State gets Update in Snow::buySnow
Function ,even when the transaction
involves an amount of zero . As per documentation, users can either buy or can mint their free tokens.
Due to s_earntimer
state updation users cannot claim their first week Free Tokens,
Resulting into loss of one Token .
Impact:
1.Users cannot mint their first week free token ,leading to loss of one token.
2.Unnecessary state updats without efficient checks leads to more gas consumption.
3.Unfair to users who did not complete their valid token purchase.
Here we try to buy token with zero amount,and it got executed.
2.No Tokens we minted by Bob.
3.Despite of zero amount,s_earntimer got update ,which prevents bob to mint its
first week Free Token till first week.
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.
View preliminary resultsAppeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.