OwnableFacet
Inherits: IERC173, 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;
Was this helpful?