OperatorFiltererLib
OperatorFiltererLib
Contains functionality to implement operator filtering.
OPERATOR_FILTER_REGISTRY
CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS
CANONICAL_CORI_SUBSCRIPTION
_checkFilterOperator
A helper function to check if the operator is allowed.
_init
Initializes 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?