メインコンテンツへスキップ

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

NameTypeDescription
_owneraddressOwner address
_protocolFeeRecipientaddressProtocol fee recipient address
_transferManageraddressAddress 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

NameTypeDescription
collectionaddressCollection address
collectionTypeenum CollectionTypeCollection type (e.g. 0 = ERC721, 1 = ERC1155)
senderaddressSender address
recipientaddressRecipient address
itemIdsuint256[]Array of itemIds
amountsuint256[]Array of amounts