Interface that every module factory contract should implement (IModuleFactory.sol)

View Source: contracts/interfaces/IModuleFactory.sol

↘ Derived Contracts: ModuleFactory

IModuleFactory

Events

event ChangeSetupCost(uint256  _oldSetupCost, uint256  _newSetupCost);
event ChangeCostType(bool  _isOldCostInPoly, bool  _isNewCostInPoly);
event GenerateModuleFromFactory(address  _module, bytes32 indexed _moduleName, address indexed _moduleFactory, address  _creator, uint256  _setupCost, uint256  _setupCostInPoly);
event ChangeSTVersionBound(string  _boundType, uint8  _major, uint8  _minor, uint8  _patch);

Functions

deploy

⤿ Overridden Implementation(s): BlacklistTransferManagerFactory.deploy,CappedSTOFactory.deploy,CountTransferManagerFactory.deploy,DummySTOFactory.deploy,ERC20DividendCheckpointFactory.deploy,EtherDividendCheckpointFactory.deploy,GeneralPermissionManagerFactory.deploy,GeneralTransferManagerFactory.deploy,KYCTransferManagerFactory.deploy,LockUpTransferManagerFactory.deploy,ManualApprovalTransferManagerFactory.deploy,MockBurnFactory.deploy,PercentageTransferManagerFactory.deploy,PLCRVotingCheckpointFactory.deploy,PreSaleSTOFactory.deploy,ScheduledCheckpointFactory.deploy,SignedTransferManagerFactory.deploy,TrackedRedemptionFactory.deploy,USDTieredSTOFactory.deploy,VestingEscrowWalletFactory.deploy,VolumeRestrictionTMFactory.deploy,WeightedVoteCheckpointFactory.deploy

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

Arguments

version

⤿ Overridden Implementation(s): ModuleFactory.version,UpgradableModuleFactory.version

Get the tags related to the module factory

function version() external view
returns(moduleVersion string)

Arguments

name

Get the tags related to the module factory

function name() external view
returns(moduleName bytes32)

Arguments

title

Returns the title associated with the module

function title() external view
returns(moduleTitle string)

Arguments

description

Returns the description associated with the module

function description() external view
returns(moduleDescription string)

Arguments

setupCost

Get the setup cost of the module in USD

function setupCost() external nonpayable
returns(usdSetupCost uint256)

Arguments

getTypes

⤿ Overridden Implementation(s): MockFactory.getTypes,MockWrongTypeFactory.getTypes,ModuleFactory.getTypes

Type of the Module factory

function getTypes() external view
returns(moduleTypes uint8[])

Arguments

getTags

⤿ Overridden Implementation(s): ModuleFactory.getTags,TestSTOFactory.getTags

Get the tags related to the module factory

function getTags() external view
returns(moduleTags bytes32[])

Arguments

changeSetupCost

⤿ Overridden Implementation(s): ModuleFactory.changeSetupCost

Used to change the setup fee

function changeSetupCost(uint256 _newSetupCost) external nonpayable

Arguments

changeCostAndType

⤿ Overridden Implementation(s): ModuleFactory.changeCostAndType

Used to change the currency and amount setup cost

function changeCostAndType(uint256 _setupCost, bool _isCostInPoly) external nonpayable

Arguments

changeSTVersionBounds

⤿ Overridden Implementation(s): ModuleFactory.changeSTVersionBounds

Function use to change the lower and upper bound of the compatible version st

function changeSTVersionBounds(string _boundType, uint8[] _newVersion) external nonpayable

Arguments

setupCostInPoly

⤿ Overridden Implementation(s): ModuleFactory.setupCostInPoly

Get the setup cost of the module

function setupCostInPoly() external nonpayable
returns(polySetupCost uint256)

Arguments

getLowerSTVersionBounds

⤿ Overridden Implementation(s): ModuleFactory.getLowerSTVersionBounds

Used to get the lower bound

function getLowerSTVersionBounds() external view
returns(lowerBounds uint8[])

Returns

Lower bound

Arguments

getUpperSTVersionBounds

⤿ Overridden Implementation(s): ModuleFactory.getUpperSTVersionBounds

Used to get the upper bound

function getUpperSTVersionBounds() external view
returns(upperBounds uint8[])

Returns

Upper bound

Arguments

changeTags

⤿ Overridden Implementation(s): ModuleFactory.changeTags

Updates the tags of the ModuleFactory

function changeTags(bytes32[] _tagsData) external nonpayable

Arguments

changeName

⤿ Overridden Implementation(s): ModuleFactory.changeName

Updates the name of the ModuleFactory

function changeName(bytes32 _name) external nonpayable

Arguments

changeDescription

⤿ Overridden Implementation(s): ModuleFactory.changeDescription

Updates the description of the ModuleFactory

function changeDescription(string _description) external nonpayable

Arguments

changeTitle

⤿ Overridden Implementation(s): ModuleFactory.changeTitle

Updates the title of the ModuleFactory

function changeTitle(string _title) external nonpayable

Arguments

Last updated