IPostDeploymentModule
Standard Specifications
Solidity implementation
Public Methods
Public methods are accessible externally from users, allowing interaction with this function from dApps or other smart contracts. When marked as 'public', a method can be called both externally and internally, on the other hand, when marked as 'external', a method can only be called externally.
executePostDeployment
References
- Specification details: LSP-23-LinkedContractsFactory
- Solidity implementation:
IPostDeploymentModule.sol
- Function signature:
executePostDeployment(address,address,bytes)
- Function selector:
0x28c4d14e
function executePostDeployment(
address primaryContract,
address secondaryContract,
bytes calldataToPostDeploymentModule
) external nonpayable;
This function can be used to perform any additional setup or configuration after the primary and secondary contracts have been deployed.
Executes post-deployment logic for the primary and secondary contracts.
Parameters
Name | Type | Description |
---|---|---|
primaryContract | address | The address of the deployed primary contract. |
secondaryContract | address | The address of the deployed secondary contract. |
calldataToPostDeploymentModule | bytes | Calldata to be passed for the post-deployment execution. |