Factory for deploying upgradable modules (UpgradableModuleFactory.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ↘ Derived Contracts: , , , , , , , , , , , , , , , ,
UpgradableModuleFactory
Constants & Variables
Events
Constructor
Arguments
Name
Type
Description
_version
string
_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
Used to upgrade the module factory
Arguments
Name
Type
Description
_version
string
Version of upgraded module
_logicContract
address
Address of deployed module logic contract referenced from proxy
_upgradeData
bytes
Data to be passed in call to upgradeToAndCall when a token upgrades its module
Used to update an existing token logic contract
Arguments
Name
Type
Description
_upgrade
uint256
logic contract to upgrade
_version
string
Version of upgraded module
_logicContract
address
Address of deployed module logic contract referenced from proxy
_upgradeData
bytes
Data to be passed in call to upgradeToAndCall when a token upgrades its module
Arguments
Name
Type
Description
_upgrade
uint256
_version
string
_logicContract
address
_upgradeData
bytes
Used by a security token to upgrade a given module
Arguments
Name
Type
Description
_module
address
Address of (proxy) module to be upgraded
Used to initialize the module
Arguments
Name
Type
Description
_module
address
Address of module
_data
bytes
Data used for the intialization of the module factory variables
Get the version related to the module factory
Arguments
Name
Type
Description
⤾ overrides
⤾ overrides