Skip to content

contract.IOperatorFilterRegistry

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

IOperatorFilterRegistry

Git Source

Functions

isOperatorAllowed

function isOperatorAllowed(address registrant, address operator) external view returns (bool);

register

function register(address registrant) external;

registerAndSubscribe

function registerAndSubscribe(address registrant, address subscription) external;

registerAndCopyEntries

function registerAndCopyEntries(address registrant, address registrantToCopy) external;

updateOperator

function updateOperator(address registrant, address operator, bool filtered) external;

updateOperators

function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

updateCodeHash

function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

updateCodeHashes

function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

subscribe

function subscribe(address registrant, address registrantToSubscribe) external;

unsubscribe

function unsubscribe(address registrant, bool copyExistingEntries) external;

subscriptionOf

function subscriptionOf(address addr) external returns (address registrant);

subscribers

function subscribers(address registrant) external returns (address[] memory);

subscriberAt

function subscriberAt(address registrant, uint256 index) external returns (address);

copyEntriesOf

function copyEntriesOf(address registrant, address registrantToCopy) external;

isOperatorFiltered

function isOperatorFiltered(address registrant, address operator) external returns (bool);

isCodeHashOfFiltered

function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

isCodeHashFiltered

function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

filteredOperators

function filteredOperators(address addr) external returns (address[] memory);

filteredCodeHashes

function filteredCodeHashes(address addr) external returns (bytes32[] memory);

filteredOperatorAt

function filteredOperatorAt(address registrant, uint256 index) external returns (address);

filteredCodeHashAt

function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

isRegistered

function isRegistered(address addr) external returns (bool);

codeHashOf

function codeHashOf(address addr) external returns (bytes32);

unregister

function unregister(address addr) external;
Clone this wiki locally