onlyOwner
functions not accessible if owner
renounces ownership
The owner
is able to perform some privileged activities, but it's possible to set the owner to address(0)
. This can represent a risk if the ownership is renounced for any reason.
All functions that are protected by the onlyOwner
Modifier
File: contracts/MOR.sol
File: contracts/mock/tokens/StETHMock.sol
Renouncing ownership will leave the contract without an owner
, therefore limiting any functionality that needs authority. For example, the contract will not be able to mint any new tokens for users.
Manual Review
Either override the renounceOwnership()
function or make it two steps to avoid accidental renounce.
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.