Proxy for deploying SecurityToken instances (STFactory.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ,
STFactory
Constants & Variables
Events
Arguments
Name
Type
Description
_polymathRegistry
address
_transferManagerFactory
address
_dataStoreFactory
address
_version
string
_logicContract
address
_initializationData
bytes
deploys the token and adds default modules like the GeneralTransferManager. Future versions of the proxy can attach different modules or pass different parameters.
Arguments
Name
Type
Description
_name
string
_symbol
string
_decimals
uint8
_tokenDetails
string
_issuer
address
_divisible
bool
_treasuryWallet
address
Arguments
Name
Type
Description
_name
string
_symbol
string
_decimals
uint8
_tokenDetails
string
_divisible
bool
Used to set a new token logic contract
Arguments
Name
Type
Description
_version
string
Version of upgraded module
_logicContract
address
Address of deployed module logic contract referenced from proxy
_initializationData
bytes
Initialization data that used to intialize value in the securityToken
_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
_initializationData
bytes
_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
_initializationData
bytes
_upgradeData
bytes
Used to upgrade a token
Arguments
Name
Type
Description
_maxModuleType
uint8
maximum module type enumeration
Used to set a new default transfer manager
Arguments
Name
Type
Description
_transferManagerFactory
address
Address of new default transfer manager factory
Used to set a new default data store
Arguments
Name
Type
Description
_dataStoreFactory
address
Address of new default data store factory
⤾ overrides
⤾ overrides
⤾ overrides
⤾ overrides
⤾ overrides