In the adjustDailyClaimLimit function, there is no check to ensure by > 0, meaning the function can be called with a zero value. This results in no state change, yet still consumes gas.
Calling the function with by == 0 serves no purpose and could be interpreted as:
A careless implementation
A potential attempt to spam the blockchain
A way to mislead off-chain monitoring tools that detect contract activity
This makes the function vulnerable to useless or misleading transactions.
Allowing by == 0 leads to:
Wasted gas for no functional purpose
Increased noise in transaction history
Difficulty for off-chain systems to interpret whether a real state change occurred
Likelihood: Medium
Wastes gas
Impact:
Useless operations that clutter history, waste gas, and reduce clarity
Add a simple guard clause:
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.