OwnershipFacet

Implementation that transfer the ownership of the L2 subsystem. It's solely based on EIP 2535.

Functions with "*" are inherited from other contracts.

Github repo here.

Open methods

owner *

function owner() external override view returns (address owner_);

Inherited.

Gets the current owner of the Diamond.

Return values:

Type
Description

owner_

Current owner of the Diamond

Owner methods

transferOwnership *

function transferOwnership(address _newOwner) external override;

Inherited.

Transfers the ownership of the Diamond.

Parameters:

Name
Type
Description

_newOwner

address

New owner of the Diamond

Last updated