IOwnable

Git Source

Functions

owner

Address of the contract owner

function owner() external view returns (address _owner);

setOwner

Sets a new contract owner

function setOwner(address _newOwner) external;

Parameters

NameTypeDescription
_newOwneraddressAddress of the new owner

Events

SetOwner

Emitted when a new contract owner is set

event SetOwner(address _newOwner);

Errors

OnlyOwner

Throws if an onlyOwner method is called by any account other than the owner

error OnlyOwner();