Mock Contract Not fit for production environment (MockFactory.sol)
View Source: contracts/mocks/MockFactory.sol
↗ Extends: DummySTOFactory
MockFactory
Contract Members
Constants & Variables
bool public typesSwitch;
Functions
Constructor
function (uint256 _setupCost, address _logicContract, address _polymathRegistry, bool _isFeeInPoly) public nonpayable DummySTOFactory
Arguments
Name
Type
Description
_setupCost
uint256
Setup cost of the module
_logicContract
address
Contract address that contains the logic related to description
_polymathRegistry
address
Address of the Polymath Registry
_isFeeInPoly
bool
getTypes
⤾ overrides ModuleFactory.getTypes
Type of the Module factory
function getTypes() external view
returns(uint8[])
Arguments
Name
Type
Description
switchTypes
function switchTypes() external nonpayable onlyOwner
Arguments
Name
Type
Description
PreviousUpgradeabilityProxy (UpgradeabilityProxy.sol)NextRegistry contract for issuers to register their security tokens (SecurityTokenRegistryMock.sol)
Last updated
Was this helpful?