ISecurityTokenFactory.sol
Last updated
Last updated
Interface for the SecurityTokenFactory contract
Defines the structure for deploying and managing SecurityToken instances
Initializes the SecurityTokenFactory
Sets up initial roles and deploys the UpgradeableBeacon
Parameters
initialAuthority
address
Address of the initial admin
initialImplementation
address
Address of the initial SecurityToken implementation contract
Returns the deterministic deployment address for a given id
Parameters
id
bytes32
Unique identifier for the deployment
Returns
<none>
address
The computed address where the SecurityToken would be deployed
Deploys a new SecurityToken instance
Uses Create2 for deterministic address generation
Parameters
id
bytes32
Unique identifier for the deployment
initData
bytes
Initialization data for the new SecurityToken instance
Returns
deployment
address
Address of the newly deployed SecurityToken instance
Upgrades the implementation of all deployed SecurityToken instances
Can only be called by addresses with the UPGRADE_ROLE
Parameters
newImplementation
address
Address of the new implementation contract
Returns the address of the SecurityTokenBeacon
Returns
<none>
address
Address of the SecurityTokenBeacon
Returns the address of the current SecurityToken implementation
Returns
<none>
address
Address of the current implementation
Emitted when a new SecurityToken is deployed
Parameters
token
address
Address of the newly deployed SecurityToken
Emitted when the implementation is upgraded
Parameters
oldImplementation
address
Address of the previous implementation
newImplementation
address
Address of the new implementation