TransferManager
It selects the NFT transfer manager based on a collection address.
view methods
INTERFACE_ID_ERC1155
Returns
INTERFACE_ID_ERC721
Returns
TRANSFER_MANAGER_ERC1155
Returns
TRANSFER_MANAGER_ERC721
Returns
addCollectionTransferManager
Add a transfer manager for a collection
It is meant to be used for exceptions only (e.g., CryptoKitties)
Parameters
checkTransferForToken
Check the transfer manager for a token
Support for ERC165 interface is checked AFTER custom implementation
Parameters
Returns
owner
Returns the address of the current owner.
Returns
Methods
removeCollectionTransferManager
Remove a transfer manager for a collection
Parameters
renounceOwnership
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferManagerSelectorForCollection
Parameters
Returns
transferOwnership
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Events
CollectionTransferManagerAdded
Parameters
CollectionTransferManagerRemoved
Parameters
OwnershipTransferred
Parameters
Last updated