IOwnableBase

Git Source

Events

OwnershipTransferred

Emitted when the ownership of the contract is transferred.

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

Parameters

Name
Type
Description

previousOwner

address

The previous owner of the contract.

newOwner

address

The new owner of the contract.

Errors

Ownable_ZeroAddress

Thrown when setting the owner to the zero address.

error Ownable_ZeroAddress();

Ownable_CallerIsNotOwner

Thrown when a caller is not the owner.

error Ownable_CallerIsNotOwner();

Last updated

Was this helpful?