IOperatorFilterRegistry
Methods
codeHashOf
function codeHashOf(address addr) external nonpayable returns (bytes32)
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bytes32 | undefined |
copyEntriesOf
function copyEntriesOf(address registrant, address registrantToCopy) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
registrantToCopy | address | undefined |
filteredCodeHashAt
function filteredCodeHashAt(address registrant, uint256 index) external nonpayable returns (bytes32)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
index | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bytes32 | undefined |
filteredCodeHashes
function filteredCodeHashes(address addr) external nonpayable returns (bytes32[])
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bytes32[] | undefined |
filteredOperatorAt
function filteredOperatorAt(address registrant, uint256 index) external nonpayable returns (address)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
index | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
filteredOperators
function filteredOperators(address addr) external nonpayable returns (address[])
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | address[] | undefined |
isCodeHashFiltered
function isCodeHashFiltered(address registrant, bytes32 codeHash) external nonpayable returns (bool)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
codeHash | bytes32 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
isCodeHashOfFiltered
function isCodeHashOfFiltered(address registrant, address operatorWithCode) external nonpayable returns (bool)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
operatorWithCode | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
isOperatorAllowed
function isOperatorAllowed(address registrant, address operator) external view returns (bool)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
operator | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
isOperatorFiltered
function isOperatorFiltered(address registrant, address operator) external nonpayable returns (bool)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
operator | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
isRegistered
function isRegistered(address addr) external nonpayable returns (bool)
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
register
function register(address registrant) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
registerAndCopyEntries
function registerAndCopyEntries(address registrant, address registrantToCopy) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
registrantToCopy | address | undefined |
registerAndSubscribe
function registerAndSubscribe(address registrant, address subscription) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
subscription | address | undefined |
subscribe
function subscribe(address registrant, address registrantToSubscribe) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
registrantToSubscribe | address | undefined |
subscriberAt
function subscriberAt(address registrant, uint256 index) external nonpayable returns (address)
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
index | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
subscribers
function subscribers(address registrant) external nonpayable returns (address[])
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | address[] | undefined |
subscriptionOf
function subscriptionOf(address addr) external nonpayable returns (address registrant)
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
registrant | address | undefined |
unregister
function unregister(address addr) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
unsubscribe
function unsubscribe(address registrant, bool copyExistingEntries) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
copyExistingEntries | bool | undefined |
updateCodeHash
function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
codehash | bytes32 | undefined |
filtered | bool | undefined |
updateCodeHashes
function updateCodeHashes(address registrant, bytes32[] codeHashes, bool filtered) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
codeHashes | bytes32[] | undefined |
filtered | bool | undefined |
updateOperator
function updateOperator(address registrant, address operator, bool filtered) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
operator | address | undefined |
filtered | bool | undefined |
updateOperators
function updateOperators(address registrant, address[] operators, bool filtered) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
registrant | address | undefined |
operators | address[] | undefined |
filtered | bool | undefined |