Transferable ERC-20

Description

The TransferableERC20 contract is an module that provides transfer control functionality for ERC-20 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
beforeTransferERC20Callback function for ERC20.transfer. 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

(No required interfaces for this contract)

Supported Interfaces

(No supported interfaces for this contract)