OperatorFilterer
OperatorFilterer
Abstract contract whose constructor automatically registers and optionally subscribes to or copies another registrant's entries in the OperatorFilterRegistry.
This smart contract is meant to be inherited by token contracts so they can use the following: - onlyAllowedOperator
modifier for transferFrom
and safeTransferFrom
methods. - onlyAllowedOperatorApproval
modifier for approve
and setApprovalForAll
methods.
Methods
OPERATOR_FILTER_REGISTRY
Returns
Name
Type
Description
_0
contract IOperatorFilterRegistry
undefined
operatorRestriction
Returns
Name
Type
Description
_0
bool
undefined
setOperatorRestriction
Parameters
Name
Type
Description
_restriction
bool
undefined
Events
OperatorRestriction
Parameters
Name
Type
Description
restriction
bool
undefined
Errors
OperatorNotAllowed
Parameters
Name
Type
Description
operator
address
undefined
Last updated