IBlockListRegistry

Git Source

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

NameTypeDescription
operatoraddressThe 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

NameTypeDescription
operatorsaddress[]An address array of operators to set a status for
statusboolThe 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);