OwnableFacet
Inherits: IOwnable, OwnableBase, Facet
Functions
Ownable_init
function Ownable_init(address owner_) external onlyInitializing;
owner
Returns the owner of the contract.
function owner() external view returns (address);
transferOwnership
Transfers the ownership of the contract to a new account (newOwner
).
OwnershipTransferred event is emitted here.
function transferOwnership(address newOwner) external onlyOwner;
renounceOwnership
Renounces ownership of the contract
Leaves the contract without an owner, disabling any functionality that is only available to the owner
function renounceOwnership() external onlyOwner;
Last updated
Was this helpful?