View Source: contracts/modules/STO/PreSale/PreSaleSTOFactory.solโ
โ Extends: UpgradableModuleFactoryโ
PreSaleSTOFactory
โdeploy(bytes _data)โ
Constructor
function (uint256 _setupCost, address _logicContract, address _polymathRegistry, bool _isCostInPoly) public nonpayable UpgradableModuleFactory
Arguments
Name | Type | Description |
_setupCost | uint256 | Setup cost of the module |
_logicContract | address | Contract address that contains the logic related to |
_polymathRegistry | address | Address of the Polymath registry |
_isCostInPoly | bool | true = cost in Poly, false = USD |
โคพ overrides IModuleFactory.deployโ
Used to launch the Module with the help of factory
function deploy(bytes _data) external nonpayablereturns(address)
Returns
address Contract address of the Module
Arguments
Name | Type | Description |
_data | bytes | Data used for the intialization of the module factory variables |