Ownable contract provides a public owner() view function to query the contract owner. The explicit getOwner() function duplicates this, adding unnecessary code and ABI bloat.
Likelihood:
During contract deployment and ABI generation.
When developers or tools scan for owner-related methods.
Impact:
Minor ABI size increase and gas irrelevance.
Potential developer confusion from duplicated interfaces.
Calls both OZ owner() and explicit getOwner(), asserts same result and matches OWNER to show exact duplicate function.
Deletes getOwner() entirely, relying on OpenZeppelin's built-in owner() to avoid extra code and confusion.
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.