DefaultOperatorFilterer
DefaultOperatorFilterer
Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
Methods
OPERATOR_FILTER_REGISTRY
function OPERATOR_FILTER_REGISTRY() external view returns (contract IOperatorFilterRegistry)
Returns
Name | Type | Description |
---|---|---|
_0 | contract IOperatorFilterRegistry | undefined |
operatorRestriction
function operatorRestriction() external view returns (bool)
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
setOperatorRestriction
function setOperatorRestriction(bool _restriction) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_restriction | bool | undefined |
Events
OperatorRestriction
event OperatorRestriction(bool restriction)
Parameters
Name | Type | Description |
---|---|---|
restriction | bool | undefined |
Errors
OperatorNotAllowed
error OperatorNotAllowed(address operator)
Parameters
Name | Type | Description |
---|---|---|
operator | address | undefined |