Factory for deploying PreSaleSTO module (PreSaleSTOFactory.sol)

View Source: contracts/modules/STO/PreSale/PreSaleSTOFactory.solโ€‹

โ†— Extends: UpgradableModuleFactoryโ€‹

PreSaleSTOFactory

Functions

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 description

_polymathRegistry

address

Address of the Polymath registry

_isCostInPoly

bool

true = cost in Poly, false = USD

deploy

โคพ overrides IModuleFactory.deployโ€‹

Used to launch the Module with the help of factory

function deploy(bytes _data) external nonpayable
returns(address)

Returns

address Contract address of the Module

Arguments

Name

Type

Description

_data

bytes

Data used for the intialization of the module factory variables