Interface to be implemented by all Transfer Manager modules (ITransferManager.sol)

View Source: contracts/interfaces/ITransferManager.solโ€‹

โ†˜ Derived Contracts: TransferManagerโ€‹

ITransferManager

Enums

Result

enum Result {
INVALID,
NA,
VALID,
FORCE_VALID
}

Functions

executeTransfer

โคฟ Overridden Implementation(s): BlacklistTransferManager.executeTransfer,CountTransferManager.executeTransfer,GeneralTransferManager.executeTransfer,KYCTransferManager.executeTransfer,LockUpTransferManager.executeTransfer,ManualApprovalTransferManager.executeTransfer,PercentageTransferManager.executeTransfer,ScheduledCheckpoint.executeTransfer,SignedTransferManager.executeTransfer,VolumeRestrictionTM.executeTransferโ€‹

Determines if the transfer between these two accounts can happen

function executeTransfer(address _from, address _to, uint256 _amount, bytes _data) external nonpayable
returns(result enum ITransferManager.Result)

Arguments

Name

Type

Description

_from

address

โ€‹

_to

address

โ€‹

_amount

uint256

โ€‹

_data

bytes

โ€‹

verifyTransfer

โคฟ Overridden Implementation(s): BlacklistTransferManager.verifyTransfer,CountTransferManager.verifyTransfer,GeneralTransferManager.verifyTransfer,KYCTransferManager.verifyTransfer,LockUpTransferManager.verifyTransfer,ManualApprovalTransferManager.verifyTransfer,PercentageTransferManager.verifyTransfer,ScheduledCheckpoint.verifyTransfer,SignedTransferManager.verifyTransfer,VolumeRestrictionTM.verifyTransferโ€‹

function verifyTransfer(address _from, address _to, uint256 _amount, bytes _data) external view
returns(result enum ITransferManager.Result, partition bytes32)

Arguments

Name

Type

Description

_from

address

โ€‹

_to

address

โ€‹

_amount

uint256

โ€‹

_data

bytes

โ€‹

getTokensByPartition

โคฟ Overridden Implementation(s): BlacklistTransferManager.getTokensByPartition,GeneralTransferManager.getTokensByPartition,LockUpTransferManager.getTokensByPartition,TransferManager.getTokensByPartition,VolumeRestrictionTM.getTokensByPartitionโ€‹

return the amount of tokens for a given user as per the partition

function getTokensByPartition(bytes32 _partition, address _tokenHolder, uint256 _additionalBalance) external view
returns(amount uint256)

Arguments

Name

Type

Description

_partition

bytes32

Identifier

_tokenHolder

address

Whom token amount need to query

_additionalBalance

uint256

It is the _value that transfer during transfer/transferFrom function call