跳到主要内容

JBOperatorStore

Stores operator permissions for all addresses. Addresses can give permissions to any other address to take specific indexed actions on their behalf.

Code

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

Addresses

Ethereum mainnet: 0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb

Goerli testnet: 0x99dB6b517683237dE9C494bbd17861f3608F3585

Interfaces

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

Events

NameData
SetOperator
  • address indexed operator
  • address indexed account
  • uint256 indexed domain
  • uint256[] permissionIndexes
  • uint256 packed

Properties

FunctionDefinition
permissionsOf

Params

  • address _operator
  • address _account
  • uint256 _domain

Returns

  • uint256

Read

FunctionDefinition
hasPermission

Params

  • address _operator
  • address _account
  • uint256 _domain
  • uint256 _permissionIndex

Returns

  • bool hasPermission
hasPermissions

Params

  • address _operator
  • address _account
  • uint256 _domain
  • uint256[] _permissionIndexes

Returns

  • bool hasPermissions

Write

FunctionDefinition
setOperator

Params

setOperators

Params