Repeated access control checks in functions can lead to increased gas consumption.
In the current implementation, multiple functions perform repetitive access control checks to verify if the caller is the contract owner. This redundancy can unnecessarily increase gas costs for each transaction.
Increased Gas Costs: Each function call incurs additional gas fees due to repeated checks, making the contract less economical for users.
Manual review
Introduce a single access control check using an onlyOwner modifier to reduce redundancy and simplify the code.
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.