Ownable2StepFacet
Inherits: IERC173, IOwnable2Step, Ownable2StepBase, Facet
Functions
Ownable2Step_init
function Ownable2Step_init() external onlyInitializing;
transferOwnership
Starts the ownership transfer to a new account.
Also defined in IERC173.
function transferOwnership(address newOwner) external override(IERC173, IOwnable2Step) onlyOwner;
Parameters
Name
Type
Description
newOwner
address
The address of the new owner.
acceptOwnership
The new owner accepts the ownership transfer.
function acceptOwnership() external onlyPendingOwner;
owner
Returns the owner of the contract.
function owner() external view returns (address);
pendingOwner
Returns the address of the pending owner, if there is one.
function pendingOwner() external view returns (address);
Returns
Name
Type
Description
<none>
address
address of the pending owner.
Was this helpful?