跳到主要内容

IOperatorStore

Git Source

Functions

permissionsOf

function permissionsOf(address _operator, address _account, uint256 _domain) external view returns (uint256);

hasPermission

function hasPermission(address _operator, address _account, uint256 _domain, uint256 _permissionIndex)
external
view
returns (bool);

hasPermissions

function hasPermissions(address _operator, address _account, uint256 _domain, uint256[] calldata _permissionIndexes)
external
view
returns (bool);

setOperator

function setOperator(address _operator, uint256 _domain, uint256[] calldata _permissionIndexes) external;

setOperators

function setOperators(
address[] calldata _operators,
uint256[] calldata _domains,
uint256[][] calldata _permissionIndexes
) external;

Events

SetOperator

event SetOperator(
address indexed operator,
address indexed account,
uint256 indexed domain,
uint256[] permissionIndexes,
uint256 packed
);