Variable Shadowing occurs when the variables in the parent contract use the same name as the variables in the base contract which can lead to unexpected behaviours.here the variable Variable owner
of MartenitsaToken::updateCountMartenitsaTokensOwner
and MartenitsaToken::getCountMartenitsaTokensOwner
is shadowing owner
variable of Ownable
contract
Although it doesn't pose any serious risk as the contract version is greater than 0.6.0, Variable Shadowing if not intended should be avoided
Renaming the arguments in MartenitsaToken::updateCountMartenitsaTokensOwner
and MartenitsaToken::getCountMartenitsaTokensOwner
functions will mitigate this issue.
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.