The contract defines an onlyOwner modifier but never applies it to any function. Every admin function manually re-implements the same owner check using require(msg.sender == owner, "...") inline. This creates code duplication across 5 functions and wastes deployment gas on a modifier that is never called. The nonReentrant modifier is used correctly — onlyOwner is not.
Impact:
Deployment gas wasted on dead modifier bytecode
Duplicated owner check logic across 5 functions — a future maintenance change could update some but miss others
Inconsistent with nonReentrant which IS applied correctly via modifier
Apply onlyOwner consistently across fund(), pause(), unpause(), withdraw(), and remove the inline require checks.
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.