The burnFaucetTokens() function contains severe logical errors that make it completely non-functional and dangerous. The function attempts to transfer the entire contract balance to the owner regardless of the specified burn amount, then tries to burn tokens from the owner's balance. This creates multiple issues including incorrect token accounting and potential transaction failures.
Impact:
Complete Contract Drainage: Calling burnFaucetTokens with any amount transfers ALL tokens to owner
Token Accounting Corruption: Burns incorrect amounts leading to supply inconsistencies
Transaction Failures: May revert due to insufficient owner balance for burning
Loss of User Funds: All tokens intended for faucet distribution are transferred to owner
Proof of Concept:
Recommended Mitigation:
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.