Interface that any module contract should implement (Module.sol)
View Source: contracts/modules/Module.sol
↗ Extends: IModule, ModuleStorage, Pausable ↘ Derived Contracts: DividendCheckpoint, GeneralPermissionManager, STO, TrackedRedemption, TransferManager, VotingCheckpoint, Wallet
Module
Contract is abstract
Modifiers
withPerm
modifier withPerm(bytes32 _perm) internalArguments
Name
Type
Description
_perm
bytes32
onlyFactory
modifier onlyFactory() internalArguments
Name
Type
Description
Functions
Constructor
function (address _securityToken, address _polyAddress) public nonpayable ModuleStorageArguments
Name
Type
Description
_securityToken
address
Address of the security token
_polyAddress
address
_checkPerm
function _checkPerm(bytes32 _perm, address _caller) internal view
returns(bool)Arguments
Name
Type
Description
_perm
bytes32
_caller
address
_onlySecurityTokenOwner
function _onlySecurityTokenOwner() internal viewArguments
Name
Type
Description
pause
⤾ overrides ISTO.pause
⤿ Overridden Implementation(s): STO.pause
Pause (overridden function)
function pause() public nonpayableArguments
Name
Type
Description
unpause
Unpause (overridden function)
function unpause() public nonpayableArguments
Name
Type
Description
getDataStore
used to return the data store address of securityToken
function getDataStore() public view
returns(contract IDataStore)Arguments
Name
Type
Description
reclaimERC20
Reclaims ERC20Basic compatible tokens
function reclaimERC20(address _tokenContract) external nonpayableArguments
Name
Type
Description
_tokenContract
address
The address of the token contract
reclaimETH
Reclaims ETH
function reclaimETH() external nonpayableArguments
Name
Type
Description
Last updated
Was this helpful?