Typically, the account that deploys the contract is also its owner
. Consequently, the owner
is able to engage in certain privileged activities in his own name.
In smart contracts, the renounceOwnership()
function is used to renounce ownership, which means that if the contract's ownership has never been transferred, it will never have an Owner
.
This renders some owner-exclusive functionality unavailable.
Manual Review
VS code
I recommend that to prevent the owner
from calling renounceOwnership()
without first transferring ownership to a different address. Additionally, if you decide to use a multi- signature wallet, then the execution of the renounceOwnership()
will require for at least two or more users to be confirmed. Alternatively, you can disable Renounce Ownership functionality by overriding it.
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.