Transfer Manager module for core transfer validation functionality (KYCTransferManager.sol)

View Source: contracts/modules/Experimental/TransferManager/KYCTransferManager.solโ€‹

โ†— Extends: TransferManagerโ€‹

KYCTransferManager

Contract Members

Constants & Variables

bytes32 public constant KYC_NUMBER;
bytes32 public constant KYC_ARRAY;

Functions

Constructor

function (address _securityToken, address _polyAddress) public nonpayable Module

Arguments

Name

Type

Description

_securityToken

address

Address of the security token

_polyAddress

address

Address of the polytoken

getInitFunction

โคพ overrides IModule.getInitFunctionโ€‹

This function returns the signature of configure function

function getInitFunction() public pure
returns(bytes4)

Arguments

Name

Type

Description

executeTransfer

โคพ overrides ITransferManager.executeTransferโ€‹

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

Arguments

Name

Type

Description

_from

address

โ€‹

_to

address

โ€‹

_amount

uint256

โ€‹

_data

bytes

โ€‹

verifyTransfer

โคพ overrides ITransferManager.verifyTransferโ€‹

function verifyTransfer(address , address _to, uint256 , bytes ) public view
returns(enum ITransferManager.Result, bytes32)

Arguments

Name

Type

Description

โ€‹

address

โ€‹

_to

address

โ€‹

โ€‹

uint256

โ€‹

โ€‹

bytes

โ€‹

modifyKYC

function modifyKYC(address _investor, bool _kycStatus) public nonpayable withPerm

Arguments

Name

Type

Description

_investor

address

โ€‹

_kycStatus

bool

โ€‹

_modifyKYC

function _modifyKYC(address _investor, bool _kycStatus) internal nonpayable

Arguments

Name

Type

Description

_investor

address

โ€‹

_kycStatus

bool

โ€‹

getKYCAddresses

function getKYCAddresses() public view
returns(address[])

Arguments

Name

Type

Description

checkKYC

function checkKYC(address _investor) public view
returns(kyc bool)

Arguments

Name

Type

Description

_investor

address

โ€‹

_getKYCKey

function _getKYCKey(address _identity) internal pure
returns(bytes32)

Arguments

Name

Type

Description

_identity

address

โ€‹

getPermissions

โคพ overrides IModule.getPermissionsโ€‹

Return the permissions flag that are associated with this module

function getPermissions() public view
returns(bytes32[])

Returns

bytes32 array

Arguments

Name

Type

Description