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) internal

Arguments

Name

Type

Description

_perm

bytes32

โ€‹

onlyFactory

modifier onlyFactory() internal

Arguments

Name

Type

Description

Functions

Constructor

function (address _securityToken, address _polyAddress) public nonpayable ModuleStorage

Arguments

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 view

Arguments

Name

Type

Description

pause

โคพ overrides ISTO.pauseโ€‹

โคฟ Overridden Implementation(s): STO.pauseโ€‹

Pause (overridden function)

function pause() public nonpayable

Arguments

Name

Type

Description

unpause

Unpause (overridden function)

function unpause() public nonpayable

Arguments

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 nonpayable

Arguments

Name

Type

Description

_tokenContract

address

The address of the token contract

reclaimETH

Reclaims ETH

function reclaimETH() external nonpayable

Arguments

Name

Type

Description