permissionsOf
Contract: JBOperatorStore
Interface: IJBOperatorStore
The permissions that an operator has been given to operate on a specific domain.
An account can give an operator permissions that only pertain to a specific domain namespace. There is no domain with a value of 0 – accounts can use the 0 domain to give an operator permissions to all domains on their behalf.
Permissions are stored in a packed uint256
. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index.
Definition
/**
@notice
The permissions that an operator has been given to operate on a specific domain.
@dev
An account can give an operator permissions that only pertain to a specific domain namespace.
There is no domain with a value of 0 – accounts can use the 0 domain to give an operator
permissions to all domains on their behalf.
@dev
Permissions are stored in a packed `uint256`. Each 256 bits represents the on/off state of a permission. Applications can specify the significance of each index.
_operator The address of the operator.
_account The address of the account being operated.
_domain The domain within which the permissions apply. Applications can use the domain namespace as they wish.
*/
mapping(address => mapping(address => mapping(uint256 => uint256))) public override permissionsOf;
- Arguments:
_operator
is the address of the operator._account
is the address of the account being operated._domain
is the domain within which the permissions apply. Applications can use the domain namespace as they wish.
- The resulting view function can be accessed externally by anyone.
- The resulting function overrides a function definition from the
IJBOperatorStore
interface.