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);
⤿ 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 nonpayablereturns(moduleAddress address)
Arguments
Name | Type | Description |
_data | bytes | |
⤿ Overridden Implementation(s): ModuleFactory.version,UpgradableModuleFactory.version
Get the tags related to the module factory
function version() external viewreturns(moduleVersion string)
Arguments
Name | Type | Description |
Get the tags related to the module factory
function name() external viewreturns(moduleName bytes32)
Arguments
Name | Type | Description |
Returns the title associated with the module
function title() external viewreturns(moduleTitle string)
Arguments
Name | Type | Description |
Returns the description associated with the module
function description() external viewreturns(moduleDescription string)
Arguments
Name | Type | Description |
Get the setup cost of the module in USD
function setupCost() external nonpayablereturns(usdSetupCost uint256)
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): MockFactory.getTypes,MockWrongTypeFactory.getTypes,ModuleFactory.getTypes
Type of the Module factory
function getTypes() external viewreturns(moduleTypes uint8[])
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): ModuleFactory.getTags,TestSTOFactory.getTags
Get the tags related to the module factory
function getTags() external viewreturns(moduleTags bytes32[])
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): ModuleFactory.changeSetupCost
Used to change the setup fee
function changeSetupCost(uint256 _newSetupCost) external nonpayable
Arguments
Name | Type | Description |
_newSetupCost | uint256 | New setup fee |
⤿ Overridden Implementation(s): ModuleFactory.changeCostAndType
Used to change the currency and amount setup cost
function changeCostAndType(uint256 _setupCost, bool _isCostInPoly) external nonpayable
Arguments
Name | Type | Description |
_setupCost | uint256 | new setup cost |
_isCostInPoly | bool | new setup cost currency. USD or POLY |
⤿ 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
Name | Type | Description |
_boundType | string | Type of bound |
_newVersion | uint8[] | New version array |
⤿ Overridden Implementation(s): ModuleFactory.setupCostInPoly
Get the setup cost of the module
function setupCostInPoly() external nonpayablereturns(polySetupCost uint256)
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): ModuleFactory.getLowerSTVersionBounds
Used to get the lower bound
function getLowerSTVersionBounds() external viewreturns(lowerBounds uint8[])
Returns
Lower bound
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): ModuleFactory.getUpperSTVersionBounds
Used to get the upper bound
function getUpperSTVersionBounds() external viewreturns(upperBounds uint8[])
Returns
Upper bound
Arguments
Name | Type | Description |
⤿ Overridden Implementation(s): ModuleFactory.changeTags
Updates the tags of the ModuleFactory
function changeTags(bytes32[] _tagsData) external nonpayable
Arguments
Name | Type | Description |
_tagsData | bytes32[] | New list of tags |
⤿ Overridden Implementation(s): ModuleFactory.changeName
Updates the name of the ModuleFactory
function changeName(bytes32 _name) external nonpayable
Arguments
Name | Type | Description |
_name | bytes32 | New name that will replace the old one. |
⤿ Overridden Implementation(s): ModuleFactory.changeDescription
Updates the description of the ModuleFactory
function changeDescription(string _description) external nonpayable
Arguments
Name | Type | Description |
_description | string | New description that will replace the old one. |
⤿ Overridden Implementation(s): ModuleFactory.changeTitle
Updates the title of the ModuleFactory
function changeTitle(string _title) external nonpayable
Arguments
Name | Type | Description |
_title | string | New Title that will replace the old one. |