The mintFaucetTokens() function should mint faucet tokens based on more modular approach, allowing the owner to mint the faucet token as per declared maxMinCap.
The mintFaucetTokens() function is restricted to magic number i.e. 1000 tokens, forcing the owner to call it frequently to refill the faucet.
Likelihood:
Scalability issues arises once dailyClaimLimit is greater than magic number 1000 tokens.
Impact:
The faucet can run out of tokens too frequently and get stuck once balance logic misaligns with dailyClaimLimit or its is exceeds by the magic number i.e. 1000 tokens by calling adjustDailyClaimLimit.
In order to mitigate the issue, Use modular approach for conditioning the minting logic.
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.