JBOwnable
Inherits: JBOwnableOverrides
Functions
constructor
constructor(IJBProjects _projects, IJBOperatorStore _operatorStore) JBOwnableOverrides(_projects, _operatorStore);
Parameters
Name | Type | Description |
---|---|---|
_projects | IJBProjects | the JBProjects to use to get the owner of the project |
_operatorStore | IJBOperatorStore | the 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);