View Source: contracts/modules/Module.solโ
โ Extends: IModule, ModuleStorage, Pausable โ Derived Contracts: DividendCheckpoint, GeneralPermissionManager, STO, TrackedRedemption, TransferManager, VotingCheckpoint, Walletโ
Module
Contract is abstract
โwithPermโ
โonlyFactoryโ
modifier withPerm(bytes32 _perm) internal
Arguments
Name | Type | Description |
_perm | bytes32 | โ |
modifier onlyFactory() internal
Arguments
Name | Type | Description |
โpause()โ
โunpause()โ
โgetDataStore()โ
โreclaimETH()โ
Constructor
function (address _securityToken, address _polyAddress) public nonpayable ModuleStorage
Arguments
Name | Type | Description |
_securityToken | address | Address of the security token |
_polyAddress | address | โ |
function _checkPerm(bytes32 _perm, address _caller) internal viewreturns(bool)
Arguments
Name | Type | Description |
_perm | bytes32 | โ |
_caller | address | โ |
function _onlySecurityTokenOwner() internal view
Arguments
Name | Type | Description |
โคพ overrides ISTO.pauseโ
โคฟ Overridden Implementation(s): STO.pauseโ
Pause (overridden function)
function pause() public nonpayable
Arguments
Name | Type | Description |
Unpause (overridden function)
function unpause() public nonpayable
Arguments
Name | Type | Description |
used to return the data store address of securityToken
function getDataStore() public viewreturns(contract IDataStore)
Arguments
Name | Type | Description |
Reclaims ERC20Basic compatible tokens
function reclaimERC20(address _tokenContract) external nonpayable
Arguments
Name | Type | Description |
_tokenContract | address | The address of the token contract |
Reclaims ETH
function reclaimETH() external nonpayable
Arguments
Name | Type | Description |