When changing the owner, it is preferable to have the new
owner send a transaction to accept the ownership, just in
case the original owner enters the wrong address.
The owner can change the owner with the transferOwnership function. However, if the owner
is changed incorrectly by entering the wrong address, it cannot be taken back.
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/utils/Ownable.sol#L19
Informational
Use OZ.Ownable2StepUpgradeable
.
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.