> For the complete documentation index, see [llms.txt](https://developers.polymath.network/polymath/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.polymath.network/polymath/api/generaltransfermanager.md).

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

View Source: [contracts/modules/TransferManager/GTM/GeneralTransferManager.sol](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/contracts/modules/TransferManager/GTM/GeneralTransferManager.sol)

**↗ Extends:** [**GeneralTransferManagerStorage**](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/GeneralTransferManagerStorage.md)**,** [**TransferManager**](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/TransferManager.md)

**GeneralTransferManager**

**Events**

```javascript
event ChangeIssuanceAddress(address  _issuanceAddress);
event ChangeDefaults(uint64  _defaultCanSendAfter, uint64  _defaultCanReceiveAfter);
event ModifyKYCData(address indexed _investor, address indexed _addedBy, uint64  _canSendAfter, uint64  _canReceiveAfter, uint64  _expiryTime);
event ModifyInvestorFlag(address indexed _investor, uint8 indexed _flag, bool  _value);
event ModifyTransferRequirements(enum GeneralTransferManagerStorage.TransferType indexed _transferType, bool  _fromValidKYC, bool  _toValidKYC, bool  _fromRestricted, bool  _toRestricted);
```

## Functions

* [(address \_securityToken, address \_polyToken)](/polymath/api/generaltransfermanager.md)
* [getInitFunction()](/polymath/api/generaltransfermanager.md#getinitfunction)
* [changeDefaults(uint64 \_defaultCanSendAfter, uint64 \_defaultCanReceiveAfter)](/polymath/api/generaltransfermanager.md#changedefaults)
* [changeIssuanceAddress(address \_issuanceAddress)](/polymath/api/generaltransfermanager.md#changeissuanceaddress)
* [executeTransfer(address \_from, address \_to, uint256 , bytes \_data)](/polymath/api/generaltransfermanager.md#executetransfer)
* [\_processTransferSignature(uint256 \_nonce, uint256 \_validFrom, uint256 \_validTo, bytes \_data)](/polymath/api/generaltransfermanager.md#_processtransfersignature)
* [verifyTransfer(address \_from, address \_to, uint256 , bytes )](/polymath/api/generaltransfermanager.md#verifytransfer)
* [\_verifyTransfer(address \_from, address \_to)](/polymath/api/generaltransfermanager.md#_verifytransfer)
* [modifyTransferRequirements(enum GeneralTransferManagerStorage.TransferType \_transferType, bool \_fromValidKYC, bool \_toValidKYC, bool \_fromRestricted, bool \_toRestricted)](/polymath/api/generaltransfermanager.md#modifytransferrequirements)
* [modifyTransferRequirementsMulti(enum GeneralTransferManagerStorage.TransferType\[\] \_transferTypes, bool\[\] \_fromValidKYC, bool\[\] \_toValidKYC, bool\[\] \_fromRestricted, bool\[\] \_toRestricted)](/polymath/api/generaltransfermanager.md#modifytransferrequirementsmulti)
* [\_modifyTransferRequirements(enum GeneralTransferManagerStorage.TransferType \_transferType, bool \_fromValidKYC, bool \_toValidKYC, bool \_fromRestricted, bool \_toRestricted)](/polymath/api/generaltransfermanager.md#_modifytransferrequirements)
* [modifyKYCData(address \_investor, uint64 \_canSendAfter, uint64 \_canReceiveAfter, uint64 \_expiryTime)](/polymath/api/generaltransfermanager.md#modifykycdata)
* [\_modifyKYCData(address \_investor, uint64 \_canSendAfter, uint64 \_canReceiveAfter, uint64 \_expiryTime)](/polymath/api/generaltransfermanager.md#_modifykycdata)
* [modifyKYCDataMulti(address\[\] \_investors, uint64\[\] \_canSendAfter, uint64\[\] \_canReceiveAfter, uint64\[\] \_expiryTime)](/polymath/api/generaltransfermanager.md#modifykycdatamulti)
* [modifyInvestorFlag(address \_investor, uint8 \_flag, bool \_value)](/polymath/api/generaltransfermanager.md#modifyinvestorflag)
* [\_modifyInvestorFlag(address \_investor, uint8 \_flag, bool \_value)](/polymath/api/generaltransfermanager.md#_modifyinvestorflag)
* [modifyInvestorFlagMulti(address\[\] \_investors, uint8\[\] \_flag, bool\[\] \_value)](/polymath/api/generaltransfermanager.md#modifyinvestorflagmulti)
* [modifyKYCDataSigned(address \_investor, uint256 \_canSendAfter, uint256 \_canReceiveAfter, uint256 \_expiryTime, uint256 \_validFrom, uint256 \_validTo, uint256 \_nonce, bytes \_signature)](/polymath/api/generaltransfermanager.md#modifykycdatasigned)
* [\_modifyKYCDataSigned(address \_investor, uint256 \_canSendAfter, uint256 \_canReceiveAfter, uint256 \_expiryTime, uint256 \_validFrom, uint256 \_validTo, uint256 \_nonce, bytes \_signature)](/polymath/api/generaltransfermanager.md#_modifykycdatasigned)
* [modifyKYCDataSignedMulti(address\[\] \_investor, uint256\[\] \_canSendAfter, uint256\[\] \_canReceiveAfter, uint256\[\] \_expiryTime, uint256 \_validFrom, uint256 \_validTo, uint256 \_nonce, bytes \_signature)](/polymath/api/generaltransfermanager.md#modifykycdatasignedmulti)
* [\_modifyKYCDataSignedMulti(address\[\] \_investor, uint256\[\] \_canSendAfter, uint256\[\] \_canReceiveAfter, uint256\[\] \_expiryTime, uint256 \_validFrom, uint256 \_validTo, uint256 \_nonce, bytes \_signature)](/polymath/api/generaltransfermanager.md#_modifykycdatasignedmulti)
* [\_checkSig(bytes32 \_hash, bytes \_signature, uint256 \_nonce)](/polymath/api/generaltransfermanager.md#_checksig)
* [\_validExpiry(uint64 \_expiryTime)](/polymath/api/generaltransfermanager.md#_validexpiry)
* [\_validLockTime(uint64 \_lockTime)](/polymath/api/generaltransfermanager.md#_validlocktime)
* [\_adjustTimes(uint64 \_canSendAfter, uint64 \_canReceiveAfter)](/polymath/api/generaltransfermanager.md#_adjusttimes)
* [\_getKey(bytes32 \_key1, address \_key2)](/polymath/api/generaltransfermanager.md#_getkey)
* [\_getKYCValues(address \_investor, IDataStore dataStore)](/polymath/api/generaltransfermanager.md#_getkycvalues)
* [\_isExistingInvestor(address \_investor, IDataStore dataStore)](/polymath/api/generaltransfermanager.md#_isexistinginvestor)
* [\_getValuesForTransfer(address \_from, address \_to)](/polymath/api/generaltransfermanager.md#_getvaluesfortransfer)
* [getAllInvestors()](/polymath/api/generaltransfermanager.md#getallinvestors)
* [getInvestors(uint256 \_fromIndex, uint256 \_toIndex)](/polymath/api/generaltransfermanager.md#getinvestors)
* [getAllInvestorFlags()](/polymath/api/generaltransfermanager.md#getallinvestorflags)
* [getInvestorFlag(address \_investor, uint8 \_flag)](/polymath/api/generaltransfermanager.md#getinvestorflag)
* [getInvestorFlags(address \_investor)](/polymath/api/generaltransfermanager.md#getinvestorflags)
* [\_getInvestorFlags(address \_investor)](/polymath/api/generaltransfermanager.md#_getinvestorflags)
* [getAllKYCData()](/polymath/api/generaltransfermanager.md#getallkycdata)
* [getKYCData(address\[\] \_investors)](/polymath/api/generaltransfermanager.md#getkycdata)
* [\_kycData(address\[\] \_investors)](/polymath/api/generaltransfermanager.md#_kycdata)
* [getPermissions()](/polymath/api/generaltransfermanager.md#getpermissions)
* [getTokensByPartition(bytes32 \_partition, address \_tokenHolder, uint256 \_additionalBalance)](/polymath/api/generaltransfermanager.md#gettokensbypartition)
* [getAddressBytes32()](/polymath/api/generaltransfermanager.md#getaddressbytes32)

Constructor

```javascript
function (address _securityToken, address _polyToken) public nonpayable Module
```

**Arguments**

| Name            | Type    | Description                   |
| --------------- | ------- | ----------------------------- |
| \_securityToken | address | Address of the security token |
| \_polyToken     | address |                               |

### getInitFunction

⤾ overrides [IModule.getInitFunction](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/IModule.md#getinitfunction)

This function returns the signature of configure function

```javascript
function getInitFunction() public pure
returns(bytes4)
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### changeDefaults

Used to change the default times used when canSendAfter / canReceiveAfter are zero

```javascript
function changeDefaults(uint64 _defaultCanSendAfter, uint64 _defaultCanReceiveAfter) public nonpayable withPerm
```

**Arguments**

| Name                     | Type   | Description                      |
| ------------------------ | ------ | -------------------------------- |
| \_defaultCanSendAfter    | uint64 | default for zero canSendAfter    |
| \_defaultCanReceiveAfter | uint64 | default for zero canReceiveAfter |

### changeIssuanceAddress

Used to change the Issuance Address

```javascript
function changeIssuanceAddress(address _issuanceAddress) public nonpayable withPerm
```

**Arguments**

| Name              | Type    | Description                  |
| ----------------- | ------- | ---------------------------- |
| \_issuanceAddress | address | new address for the issuance |

### executeTransfer

⤾ overrides [ITransferManager.executeTransfer](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/ITransferManager.md#executetransfer)

Default implementation of verifyTransfer used by SecurityToken If the transfer request comes from the STO, it only checks that the investor is in the whitelist If the transfer request comes from a token holder, it checks that: a) Both are on the whitelist b) Seller's sale lockup period is over c) Buyer's purchase lockup is over

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

**Arguments**

| Name   | Type    | Description                  |
| ------ | ------- | ---------------------------- |
| \_from | address | Address of the sender        |
| \_to   | address | Address of the receiver      |
|        | uint256 | \_from Address of the sender |
| \_data | bytes   |                              |

### \_processTransferSignature

```javascript
function _processTransferSignature(uint256 _nonce, uint256 _validFrom, uint256 _validTo, bytes _data) internal nonpayable
```

**Arguments**

| Name        | Type    | Description |
| ----------- | ------- | ----------- |
| \_nonce     | uint256 |             |
| \_validFrom | uint256 |             |
| \_validTo   | uint256 |             |
| \_data      | bytes   |             |

### verifyTransfer

⤾ overrides [ITransferManager.verifyTransfer](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/ITransferManager.md#verifytransfer)

Default implementation of verifyTransfer used by SecurityToken

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

**Arguments**

| Name   | Type    | Description                  |
| ------ | ------- | ---------------------------- |
| \_from | address | Address of the sender        |
| \_to   | address | Address of the receiver      |
|        | uint256 | \_from Address of the sender |
|        | bytes   | \_from Address of the sender |

### \_verifyTransfer

```javascript
function _verifyTransfer(address _from, address _to) internal view
returns(enum ITransferManager.Result, bytes32)
```

**Arguments**

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| \_from | address |             |
| \_to   | address |             |

### modifyTransferRequirements

Modifies the successful checks required for a transfer to be deemed valid.

```javascript
function modifyTransferRequirements(enum GeneralTransferManagerStorage.TransferType _transferType, bool _fromValidKYC, bool _toValidKYC, bool _fromRestricted, bool _toRestricted) public nonpayable withPerm
```

**Arguments**

| Name             | Type                                            | Description                                                      |
| ---------------- | ----------------------------------------------- | ---------------------------------------------------------------- |
| \_transferType   | enum GeneralTransferManagerStorage.TransferType | Type of transfer (0 = General, 1 = Issuance, 2 = Redemption)     |
| \_fromValidKYC   | bool                                            | Defines if KYC is required for the sender                        |
| \_toValidKYC     | bool                                            | Defines if KYC is required for the receiver                      |
| \_fromRestricted | bool                                            | Defines if transfer time restriction is checked for the sender   |
| \_toRestricted   | bool                                            | Defines if transfer time restriction is checked for the receiver |

### modifyTransferRequirementsMulti

Modifies the successful checks required for transfers.

```javascript
function modifyTransferRequirementsMulti(enum GeneralTransferManagerStorage.TransferType[] _transferTypes, bool[] _fromValidKYC, bool[] _toValidKYC, bool[] _fromRestricted, bool[] _toRestricted) public nonpayable withPerm
```

**Arguments**

| Name             | Type                                               | Description                                                      |
| ---------------- | -------------------------------------------------- | ---------------------------------------------------------------- |
| \_transferTypes  | enum GeneralTransferManagerStorage.TransferType\[] | Types of transfer (0 = General, 1 = Issuance, 2 = Redemption)    |
| \_fromValidKYC   | bool\[]                                            | Defines if KYC is required for the sender                        |
| \_toValidKYC     | bool\[]                                            | Defines if KYC is required for the receiver                      |
| \_fromRestricted | bool\[]                                            | Defines if transfer time restriction is checked for the sender   |
| \_toRestricted   | bool\[]                                            | Defines if transfer time restriction is checked for the receiver |

### \_modifyTransferRequirements

```javascript
function _modifyTransferRequirements(enum GeneralTransferManagerStorage.TransferType _transferType, bool _fromValidKYC, bool _toValidKYC, bool _fromRestricted, bool _toRestricted) internal nonpayable
```

**Arguments**

| Name             | Type                                            | Description |
| ---------------- | ----------------------------------------------- | ----------- |
| \_transferType   | enum GeneralTransferManagerStorage.TransferType |             |
| \_fromValidKYC   | bool                                            |             |
| \_toValidKYC     | bool                                            |             |
| \_fromRestricted | bool                                            |             |
| \_toRestricted   | bool                                            |             |

### modifyKYCData

Add or remove KYC info of an investor.

```javascript
function modifyKYCData(address _investor, uint64 _canSendAfter, uint64 _canReceiveAfter, uint64 _expiryTime) public nonpayable withPerm
```

**Arguments**

| Name              | Type    | Description                                                                                                           |
| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------- |
| \_investor        | address | is the address to whitelist                                                                                           |
| \_canSendAfter    | uint64  | is the moment when the sale lockup period ends and the investor can freely sell or transfer their tokens              |
| \_canReceiveAfter | uint64  | is the moment when the purchase lockup period ends and the investor can freely purchase or receive tokens from others |
| \_expiryTime      | uint64  | is the moment till investors KYC will be validated. After that investor need to do re-KYC                             |

### \_modifyKYCData

```javascript
function _modifyKYCData(address _investor, uint64 _canSendAfter, uint64 _canReceiveAfter, uint64 _expiryTime) internal nonpayable
```

**Arguments**

| Name              | Type    | Description |
| ----------------- | ------- | ----------- |
| \_investor        | address |             |
| \_canSendAfter    | uint64  |             |
| \_canReceiveAfter | uint64  |             |
| \_expiryTime      | uint64  |             |

### modifyKYCDataMulti

Add or remove KYC info of an investor.

```javascript
function modifyKYCDataMulti(address[] _investors, uint64[] _canSendAfter, uint64[] _canReceiveAfter, uint64[] _expiryTime) public nonpayable withPerm
```

**Arguments**

| Name              | Type       | Description                                                                                                |
| ----------------- | ---------- | ---------------------------------------------------------------------------------------------------------- |
| \_investors       | address\[] | is the address to whitelist                                                                                |
| \_canSendAfter    | uint64\[]  | is the moment when the sale lockup period ends and the investor can freely sell his tokens                 |
| \_canReceiveAfter | uint64\[]  | is the moment when the purchase lockup period ends and the investor can freely purchase tokens from others |
| \_expiryTime      | uint64\[]  | is the moment till investors KYC will be validated. After that investor need to do re-KYC                  |

### modifyInvestorFlag

Used to modify investor Flag.

```javascript
function modifyInvestorFlag(address _investor, uint8 _flag, bool _value) public nonpayable withPerm
```

**Arguments**

| Name       | Type    | Description                                                                               |
| ---------- | ------- | ----------------------------------------------------------------------------------------- |
| \_investor | address | is the address of the investor.                                                           |
| \_flag     | uint8   | index of flag to change. flag is used to know specifics about investor like isAccredited. |
| \_value    | bool    | value of the flag. a flag can be true or false.                                           |

### \_modifyInvestorFlag

```javascript
function _modifyInvestorFlag(address _investor, uint8 _flag, bool _value) internal nonpayable
```

**Arguments**

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| \_investor | address |             |
| \_flag     | uint8   |             |
| \_value    | bool    |             |

### modifyInvestorFlagMulti

Used to modify investor data.

```javascript
function modifyInvestorFlagMulti(address[] _investors, uint8[] _flag, bool[] _value) public nonpayable withPerm
```

**Arguments**

| Name        | Type       | Description                                                                               |
| ----------- | ---------- | ----------------------------------------------------------------------------------------- |
| \_investors | address\[] | List of the addresses to modify data about.                                               |
| \_flag      | uint8\[]   | index of flag to change. flag is used to know specifics about investor like isAccredited. |
| \_value     | bool\[]    | value of the flag. a flag can be true or false.                                           |

### modifyKYCDataSigned

Adds or removes addresses from the whitelist - can be called by anyone with a valid signature

```javascript
function modifyKYCDataSigned(address _investor, uint256 _canSendAfter, uint256 _canReceiveAfter, uint256 _expiryTime, uint256 _validFrom, uint256 _validTo, uint256 _nonce, bytes _signature) public nonpayable
```

**Arguments**

| Name              | Type    | Description                                                                                                |
| ----------------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| \_investor        | address | is the address to whitelist                                                                                |
| \_canSendAfter    | uint256 | is the moment when the sale lockup period ends and the investor can freely sell his tokens                 |
| \_canReceiveAfter | uint256 | is the moment when the purchase lockup period ends and the investor can freely purchase tokens from others |
| \_expiryTime      | uint256 | is the moment till investors KYC will be validated. After that investor need to do re-KYC                  |
| \_validFrom       | uint256 | is the time that this signature is valid from                                                              |
| \_validTo         | uint256 | is the time that this signature is valid until                                                             |
| \_nonce           | uint256 | nonce of signature (avoid replay attack)                                                                   |
| \_signature       | bytes   | issuer signature                                                                                           |

### \_modifyKYCDataSigned

```javascript
function _modifyKYCDataSigned(address _investor, uint256 _canSendAfter, uint256 _canReceiveAfter, uint256 _expiryTime, uint256 _validFrom, uint256 _validTo, uint256 _nonce, bytes _signature) internal nonpayable
returns(bool)
```

**Arguments**

| Name              | Type    | Description |
| ----------------- | ------- | ----------- |
| \_investor        | address |             |
| \_canSendAfter    | uint256 |             |
| \_canReceiveAfter | uint256 |             |
| \_expiryTime      | uint256 |             |
| \_validFrom       | uint256 |             |
| \_validTo         | uint256 |             |
| \_nonce           | uint256 |             |
| \_signature       | bytes   |             |

### modifyKYCDataSignedMulti

Adds or removes addresses from the whitelist - can be called by anyone with a valid signature

```javascript
function modifyKYCDataSignedMulti(address[] _investor, uint256[] _canSendAfter, uint256[] _canReceiveAfter, uint256[] _expiryTime, uint256 _validFrom, uint256 _validTo, uint256 _nonce, bytes _signature) public nonpayable
```

**Arguments**

| Name              | Type       | Description                                                                                                |
| ----------------- | ---------- | ---------------------------------------------------------------------------------------------------------- |
| \_investor        | address\[] | is the address to whitelist                                                                                |
| \_canSendAfter    | uint256\[] | is the moment when the sale lockup period ends and the investor can freely sell his tokens                 |
| \_canReceiveAfter | uint256\[] | is the moment when the purchase lockup period ends and the investor can freely purchase tokens from others |
| \_expiryTime      | uint256\[] | is the moment till investors KYC will be validated. After that investor need to do re-KYC                  |
| \_validFrom       | uint256    | is the time that this signature is valid from                                                              |
| \_validTo         | uint256    | is the time that this signature is valid until                                                             |
| \_nonce           | uint256    | nonce of signature (avoid replay attack)                                                                   |
| \_signature       | bytes      | issuer signature                                                                                           |

### \_modifyKYCDataSignedMulti

```javascript
function _modifyKYCDataSignedMulti(address[] _investor, uint256[] _canSendAfter, uint256[] _canReceiveAfter, uint256[] _expiryTime, uint256 _validFrom, uint256 _validTo, uint256 _nonce, bytes _signature) internal nonpayable
returns(bool)
```

**Arguments**

| Name              | Type       | Description |
| ----------------- | ---------- | ----------- |
| \_investor        | address\[] |             |
| \_canSendAfter    | uint256\[] |             |
| \_canReceiveAfter | uint256\[] |             |
| \_expiryTime      | uint256\[] |             |
| \_validFrom       | uint256    |             |
| \_validTo         | uint256    |             |
| \_nonce           | uint256    |             |
| \_signature       | bytes      |             |

### \_checkSig

Used to verify the signature

```javascript
function _checkSig(bytes32 _hash, bytes _signature, uint256 _nonce) internal nonpayable
returns(bool)
```

**Arguments**

| Name        | Type    | Description |
| ----------- | ------- | ----------- |
| \_hash      | bytes32 |             |
| \_signature | bytes   |             |
| \_nonce     | uint256 |             |

### \_validExpiry

Internal function used to check whether the KYC of investor is valid

```javascript
function _validExpiry(uint64 _expiryTime) internal view
returns(valid bool)
```

**Arguments**

| Name         | Type   | Description                 |
| ------------ | ------ | --------------------------- |
| \_expiryTime | uint64 | Expiry time of the investor |

### \_validLockTime

Internal function used to check whether the lock time of investor is valid

```javascript
function _validLockTime(uint64 _lockTime) internal view
returns(valid bool)
```

**Arguments**

| Name       | Type   | Description               |
| ---------- | ------ | ------------------------- |
| \_lockTime | uint64 | Lock time of the investor |

### \_adjustTimes

Internal function to adjust times using default values

```javascript
function _adjustTimes(uint64 _canSendAfter, uint64 _canReceiveAfter) internal view
returns(uint64, uint64)
```

**Arguments**

| Name              | Type   | Description |
| ----------------- | ------ | ----------- |
| \_canSendAfter    | uint64 |             |
| \_canReceiveAfter | uint64 |             |

### \_getKey

```javascript
function _getKey(bytes32 _key1, address _key2) internal pure
returns(bytes32)
```

**Arguments**

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| \_key1 | bytes32 |             |
| \_key2 | address |             |

### \_getKYCValues

```javascript
function _getKYCValues(address _investor, IDataStore dataStore) internal view
returns(canSendAfter uint64, canReceiveAfter uint64, expiryTime uint64, added uint8)
```

**Arguments**

| Name       | Type       | Description |
| ---------- | ---------- | ----------- |
| \_investor | address    |             |
| dataStore  | IDataStore |             |

### \_isExistingInvestor

```javascript
function _isExistingInvestor(address _investor, IDataStore dataStore) internal view
returns(bool)
```

**Arguments**

| Name       | Type       | Description |
| ---------- | ---------- | ----------- |
| \_investor | address    |             |
| dataStore  | IDataStore |             |

### \_getValuesForTransfer

```javascript
function _getValuesForTransfer(address _from, address _to) internal view
returns(canSendAfter uint64, fromExpiry uint64, canReceiveAfter uint64, toExpiry uint64)
```

**Arguments**

| Name   | Type    | Description |
| ------ | ------- | ----------- |
| \_from | address |             |
| \_to   | address |             |

### getAllInvestors

Returns list of all investors

```javascript
function getAllInvestors() public view
returns(investors address[])
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### getInvestors

Returns list of investors in a range

```javascript
function getInvestors(uint256 _fromIndex, uint256 _toIndex) public view
returns(investors address[])
```

**Arguments**

| Name        | Type    | Description |
| ----------- | ------- | ----------- |
| \_fromIndex | uint256 |             |
| \_toIndex   | uint256 |             |

### getAllInvestorFlags

```javascript
function getAllInvestorFlags() public view
returns(investors address[], flags uint256[])
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### getInvestorFlag

```javascript
function getInvestorFlag(address _investor, uint8 _flag) public view
returns(value bool)
```

**Arguments**

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| \_investor | address |             |
| \_flag     | uint8   |             |

### getInvestorFlags

```javascript
function getInvestorFlags(address _investor) public view
returns(flags uint256)
```

**Arguments**

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| \_investor | address |             |

### \_getInvestorFlags

```javascript
function _getInvestorFlags(address _investor) internal view
returns(flags uint256)
```

**Arguments**

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| \_investor | address |             |

### getAllKYCData

Returns list of all investors data

```javascript
function getAllKYCData() external view
returns(investors address[], canSendAfters uint256[], canReceiveAfters uint256[], expiryTimes uint256[])
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### getKYCData

Returns list of specified investors data

```javascript
function getKYCData(address[] _investors) external view
returns(uint256[], uint256[], uint256[])
```

**Arguments**

| Name        | Type       | Description |
| ----------- | ---------- | ----------- |
| \_investors | address\[] |             |

### \_kycData

```javascript
function _kycData(address[] _investors) internal view
returns(uint256[], uint256[], uint256[])
```

**Arguments**

| Name        | Type       | Description |
| ----------- | ---------- | ----------- |
| \_investors | address\[] |             |

### getPermissions

⤾ overrides [IModule.getPermissions](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/IModule.md#getpermissions)

Return the permissions flag that are associated with general trnasfer manager

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

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### getTokensByPartition

⤾ overrides [TransferManager.getTokensByPartition](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/TransferManager.md#gettokensbypartition)

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

```javascript
function getTokensByPartition(bytes32 _partition, address _tokenHolder, uint256 _additionalBalance) external view
returns(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 |

### getAddressBytes32

```javascript
function getAddressBytes32() public view
returns(bytes32)
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |
