跳到主要内容

JBOperatable

Modifiers to allow access to functions based on the message sender's operator status.

Traits

abstract

Code

https://github.com/jbx-protocol/juice-contracts-v3/blob/main/contracts/abstract/JBOperatable.sol

Interfaces

NameDescription
IJBOperatableGeneral interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.

Constructor

/**
@param _operatorStore A contract storing operator assignments.
*/
constructor(IJBOperatorStore _operatorStore) {
operatorStore = _operatorStore;
}

Modifiers

NameData
requirePermission
  • address _account
  • uint256 _domain
  • uint256 _index
requirePermissionAllowingOverride
  • address _account
  • uint256 _domain
  • uint256 _permissionIndex
  • bool _override

Read

FunctionDefinition
operatorStore

Traits

  • immutable

Returns

  • IJBOperationStore operatorStore
_requirePermission

Traits

  • internal

Params

  • uint256 _projectId
  • uint256 _domain
  • uint256 _permissionIndex
_requirePermissionAllowingOverride

Traits

  • internal

Params

  • uint256 _projectId
  • uint256 _domain
  • uint256 _permissionIndex
  • bool override