Closed
Description
Not exactly a bug, for for those who have been using Claimable
in earlier versions of OZ (for the purpose of transferOwnership
followed by claimOwnership
) - what are the options in v2.0.0?
Relying solely on Ownable.transferOwnership
lacks a safety mechanism for accidentally transferring the ownership to an incorrect address.
At present, the only alternative that I see is copying Claimable.sol
from v.12.0 to my repo, fixing the import "./Ownable.sol"
statement, and inheriting my contracts from Claimable
instead of Ownable
.
This is far from being a clean solution.
Are there any alternatives?
I've been reading something about roles (issue 1274, issue 1146, issue 1291).
Is that possibly related?
Thanks