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