Factory for deploying CappedSTO module (CappedSTOFactory.sol)

View Source: contracts/modules/STO/Capped/CappedSTOFactory.sol

↗ Extends: UpgradableModuleFactory

CappedSTOFactory

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

Last updated