Skip to main content

JBOwnable

Git Source

Inherits: JBOwnableOverrides

Functions

constructor

constructor(IJBProjects _projects, IJBOperatorStore _operatorStore) JBOwnableOverrides(_projects, _operatorStore);

Parameters

NameTypeDescription
_projectsIJBProjectsthe JBProjects to use to get the owner of the project
_operatorStoreIJBOperatorStorethe operatorStore to use for the permissions

onlyOwner

Throws if called by an account that is not the owner and does not have permission to act as the owner

modifier onlyOwner() virtual;

_emitTransferEvent

function _emitTransferEvent(address previousOwner, address newOwner) internal virtual override;

Events

OwnershipTransferred

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