Factory for deploying WeightedVoteCheckpoint module (WeightedVoteCheckpointFactory.sol)

View Source: contracts/modules/Checkpoint/Voting/Transparent/WeightedVoteCheckpointFactory.sol

↗ Extends: UpgradableModuleFactory

WeightedVoteCheckpointFactory

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

Last updated