ISecurityTokenPositionManagerFactory.sol
ISecurityTokenPositionManagerFactory
Interface for deploying and managing SecurityTokenPositionManager instances
Functions
initialize
Initializes the factory contract
function initialize(address initialAuthority, address initialImplementation) external;
Parameters
initialAuthority
address
The address to be granted admin rights
initialImplementation
address
The address of the initial SecurityTokenPositionManager implementation
deploy
Deploys a new SecurityTokenPositionManager instance
function deploy(bytes32 id, bytes calldata initData) external returns (address deployment);
Parameters
id
bytes32
Unique identifier for the deployment
initData
bytes
Initialization data for the new SecurityTokenPositionManager instance
Returns
deployment
address
The address of the newly deployed SecurityTokenPositionManager
upgradeImplementation
Upgrades the implementation contract for all SecurityTokenPositionManager instances
function upgradeImplementation(address newImplementation) external;
Parameters
newImplementation
address
The address of the new implementation contract
getDeploymentAddress
Computes the deployment address for a SecurityTokenPositionManager instance
function getDeploymentAddress(bytes32 id) external view returns (address);
Parameters
id
bytes32
Unique identifier for the deployment
Returns
<none>
address
The computed address where the SecurityTokenPositionManager would be deployed
beacon
Returns the address of the current beacon contract
function beacon() external view returns (address);
Returns
<none>
address
The address of the SecurityTokenPositionManagerBeacon
implementation
Returns the address of the current implementation contract
function implementation() external view returns (address);
Returns
<none>
address
The address of the current SecurityTokenPositionManager implementation
Events
SecurityTokenPositionManagerDeployed
Emitted when a new SecurityTokenPositionManager is deployed
event SecurityTokenPositionManagerDeployed(address indexed positionManager);
Parameters
positionManager
address
The address of the newly deployed SecurityTokenPositionManager
ImplementationUpgraded
Emitted when the implementation contract is upgraded
event ImplementationUpgraded(address indexed oldImplementation, address indexed newImplementation);
Parameters
oldImplementation
address
The address of the previous implementation contract
newImplementation
address
The address of the new implementation contract
Last updated