TransferSelectorNFT
This contract handles the logic for transferring non-fungible items.
transferManager
contract TransferManager transferManager
Transfer manager for ERC721 and ERC1155.
constructor
constructor(address _owner, address _protocolFeeRecipient, address _transferManager) public
Constructor
Parameters
Name | Type | Description |
---|---|---|
_owner | address | Owner address |
_protocolFeeRecipient | address | Protocol fee recipient address |
_transferManager | address | Address of the transfer manager for ERC721/ERC1155 |
_transferNFT
function _transferNFT(address collection, enum CollectionType collectionType, address sender, address recipient, uint256[] itemIds, uint256[] amounts) internal
This function is internal and used to transfer non-fungible tokens.
Parameters
Name | Type | Description |
---|---|---|
collection | address | Collection address |
collectionType | enum CollectionType | Collection type (e.g. 0 = ERC721, 1 = ERC1155) |
sender | address | Sender address |
recipient | address | Recipient address |
itemIds | uint256[] | Array of itemIds |
amounts | uint256[] | Array of amounts |