Manage Fismo Ownership

Events

💥 OwnershipTransferred

Emitted when ownership of the Fismo instance is transferred.

Signature

event OwnershipTransferred (
    address indexed previousOwner
    address indexed newOwner
);

Parameters

Name Description Type
previousOwner the previous owner of the Fismo instance address
newOwner the new owner of the Fismo instance address

Methods

🦠 owner

Get the address of the Fismo instance’s owner

Signature

function owner () 
external
returns (address);

Returns

Name Description Type
  the owner’s address address

🦠 transferOwnership

Transfer ownership of the Fismo instance to another address.

Emits

Reverts if

  • Caller is not contract owner
  • New owner is zero address

Signature

function transferOwnership (
    address _newOwner
) 
external;

Arguments

Name Description Type
_newOwner the new owner’s address address