IBlockListRegistry
Author: transientlabs.xyz
Interface for the BlockListRegistry Contract
Functions
getBlockListStatus
Function to get blocklist status with True meaning that the operator is blocked
function getBlockListStatus(address operator) external view returns (bool);
Parameters
Name | Type | Description |
---|---|---|
operator | address | The operator in question to check against the blocklist |
setBlockListStatus
Function to set the block list status for multiple operators
Must be called by the blockList owner
function setBlockListStatus(address[] calldata operators, bool status) external;
Parameters
Name | Type | Description |
---|---|---|
operators | address[] | An address array of operators to set a status for |
status | bool | The status to set for all operators |
clearBlockList
Function to clear the block list status
Must be called by the blockList owner
function clearBlockList() external;
Events
BlockListStatusChange
event BlockListStatusChange(address indexed user, address indexed operator, bool indexed status);
BlockListCleared
event BlockListCleared(address indexed user);