The 'owner' variable is locally declared in multiple functions, potentially causing confusion across the contract for developers maintaining this code and auditors reviewing it. While this does not pose an immediate security risk, it may lead to code maintenance challenges and hinder readability.
The 'owner' variable is locally declared in multiple functions, causing shadowing of the global 'owner' variable from the base contract. This issue, although not a security risk, may introduce confusion and readability challenges during code maintenance.
The impact of this issue is minimal in terms of security risk, given the function scope and type of the variable (view function). It primarily pertains to best practices and code readability. Variable shadowing should be avoided even if it doesn't have a direct security impact.
Manual review
Consider renaming local variables to owner_ or tokenOwner to avoid shadowing the global 'owner' variable from the base contract consistently across all affected functions.
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.