-
Notifications
You must be signed in to change notification settings - Fork 152
Count Transfer Manager
Satyam Agrawal edited this page Apr 17, 2019
·
3 revisions
- Introduced in: 1.0.0
- Contract name: CountTransferManager.sol
- Type: Transfer Manager Module
- Compatible Protocol Version: 1.* - *
This contract is a transfer manager for limiting the maximum number of concurrent token holders.
This function is used to initialize the variables on the entire contract
/**
* @notice Used to initialize the variables of the contract
* @param _maxHolderCount Maximum no. of holders this module allows the SecurityToken to have
*/
function configure(uint256 _maxHolderCount) public onlyFactory
This function is used to verify the transfer transaction and prevent a transfer if it passes the allowed amount of the token holders limit.
/**
* @notice Used to verify the transfer transaction and prevent a transfer if it passes the allowed amount of token holders
* @param _from Address of the sender
* @param _to Address of the receiver
* @param _amount Amount to send
*/
function executeTransfer(
address _from,
address _to,
uint256 _amount,
bytes calldata /*_data*/
)
external
returns(Result)
This function allows the issuer to set the cap for the number of token holders there can be for an STO.
/**
* @notice Sets the cap for the amount of token holders there can be
* @param _maxHolderCount is the new maximum amount of token holders
*/
function changeHolderCount(uint256 _maxHolderCount) public withPerm(ADMIN)
CLI Installation
Running the CLI Features and Modules
- How to Use the POLY Faucet
- St-20 Generator
- STO Manager
- How to Use the Investor Portal
- Token Manager
- Transfer Feature
- Transfer Ownership
- Dividends Manager
- Transfer Manager
- Contract Manager
- Permission Manager
- Time Travel for Contract Testing
Modules
- LockupTransferManager
- VolumeRestrictionTransferManager
- BlacklistTransferManager
- ManualApprovalTransferManager
- CountTransferManager
- GeneralPermissionManager
- PercentageTransferManager
- GeneralTransferManager
- DividendCheckpointModules
- VestingEscrowWallet
- CappedSTO
- USDTieredSTO
- AdvancedPLCRVotingCheckpoint
- VotingCheckpointModules
- Schedule Checkpoint