Ownable2StepFacet

Git Source

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

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