Skip to main content

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​

NameTypeDescription
_0contract IOperatorFilterRegistryundefined

operatorRestriction​

function operatorRestriction() external view returns (bool)

Returns​

NameTypeDescription
_0boolundefined

setOperatorRestriction​

function setOperatorRestriction(bool _restriction) external nonpayable

Parameters​

NameTypeDescription
_restrictionboolundefined

Events​

OperatorRestriction​

event OperatorRestriction(bool restriction)

Parameters​

NameTypeDescription
restrictionboolundefined

Errors​

OperatorNotAllowed​

error OperatorNotAllowed(address operator)

Parameters​

NameTypeDescription
operatoraddressundefined