OperatorFiltererLib
OperatorFiltererLib
Contains functionality to implement operator filtering.
OPERATOR_FILTER_REGISTRY
contract IOperatorFilterRegistry OPERATOR_FILTER_REGISTRYCANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS
address CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESSCANONICAL_CORI_SUBSCRIPTION
address CANONICAL_CORI_SUBSCRIPTION_checkFilterOperator
function _checkFilterOperator(address operator) internal viewA helper function to check if the operator is allowed.
_init
function _init() internalInitializes with the default registry and subscribes.
_register
Registers the contract with the registry. This must be called from the proxy.
Parameters
Name
Type
Description
subscriptionOrRegistrantToCopy
address
Provide a valid subscription address to copy the subscriptions from or the 0 address.
subscribe
bool
registers and subscribes
_unregister
Unregisters the contract from the registry.
Was this helpful?