In claimFaucetTokens() the code checks:
If the contract balance equals exactly faucetDrip
, the check reverts (i.e., the function requires strictly greater than faucetDrip
). Typically the desired check is to allow transfer when balance >= faucetDrip (i.e., revert when < faucetDrip
). Using <= disallows the last token drip.
Impact: Users are prevented from claiming when the contract holds exactly one faucetDrip
unit; reduces usability (small).
Likelihood: High (easy to happen)
Impact: Low (minor UX/logical)
Use <
rather than <=
:
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.
The contest is complete and the rewards are being distributed.