Transferable ERC-721

Description

The TransferableERC721 contract is an module that provides transfer control functionality for ERC-721 tokens. This contract allows enabling or disabling token transfers globally or for specific addresses, adding an extra layer of control over how tokens can be moved.

GitHub
View on GitHub

Callback Functions

FunctionDescription
beforeTransferERC721Callback function for ERC721.transferFrom/safeTransferFrom. Ensures that transfers are enabled before allowing them.

Fallback Functions

FunctionDescription
isTransferEnabledReturns whether transfers are enabled globally for the token.
isTransferEnabledForReturns whether transfers are enabled for a specific address.
setTransferableSets the transferability status for the token globally. Requires manager role.
setTransferableForSets the transferability status for a specific address. Requires manager role.

Required Interfaces

InterfaceID
ERC-7210x80ac58cd

Supported Interfaces

(No supported interfaces for this contract)