Single Step ownership transfer is dangerous as if the transfer is made to an incorrect address. the contract will be with no owner, and the role will be lost forever.
This will make the contract non-upgradable, where the owner is the only one who can upgrade the implementation of the VaultManger.
Recommendations
Use OZ::Ownable2StepUpgradeable. where in order to change the owner of the contract, the new owner should accept the new role in order to become the owner.
Description
Single Step ownership transfer is dangerous as if the transfer is made to an incorrect address. the contract will be with no owner, and the role will be lost forever.
This will make the contract
non-upgradable
, where the owner is the only one who can upgrade the implementation of theVaultManger
.Recommendations
Use
OZ::Ownable2StepUpgradeable
. where in order to change the owner of the contract, the new owner should accept the new role in order to become the owner.