IERC721Receiver
IERC721Receiver
ERC721 token receiver interface
Developer note: Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.
Functions
onERC721Received
onERC721Received(address,address,uint256,bytes)
external
Name | Type | Description |
---|---|---|
operator | address | |
from | address | |
tokenId | uint256 | |
data | bytes |
Returns:
Name | Type | Description |
---|---|---|
[0] | bytes4 |
IERC721Receiver
ERC721 token receiver interface
Developer note: Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.
Functions
onERC721Received
onERC721Received(address,address,uint256,bytes)
external
Name | Type | Description |
---|---|---|
operator | address | |
from | address | |
tokenId | uint256 | |
data | bytes |
Returns:
Name | Type | Description |
---|---|---|
[0] | bytes4 |