Skip to content

Commit 38a1c94

Browse files
committed
Fix: Add new function to interface
1 parent b7916ea commit 38a1c94

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

src/factories/OrchestratorFactory_v1.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,7 @@ contract OrchestratorFactory_v1 is
246246
return _orchestratorIdCounter;
247247
}
248248

249-
/// @notice Deploys an external contract using the CREATE2 opcode.
250-
/// @dev Any further calls to the contract that serve its initialization
251-
/// can be provided via the calls array and will be executed after.
252-
/// @param code The creation code of the contract.
253-
/// @param calls Additional calls to be made to the deployed contract.
249+
/// @inheritdoc IOrchestratorFactory_v1
254250
function deployExternalContract(bytes calldata code, bytes[] calldata calls)
255251
external
256252
returns (address deploymentAddress)

src/factories/interfaces/IOrchestratorFactory_v1.sol

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ interface IOrchestratorFactory_v1 {
8888
ModuleConfig[] memory moduleConfigs
8989
) external returns (IOrchestrator_v1);
9090

91+
/// @notice Deploys an external contract using the CREATE2 opcode.
92+
/// @dev Any further calls to the contract that serve its initialization
93+
/// can be provided via the calls array and will be executed after.
94+
/// @param code The creation code of the contract.
95+
/// @param calls Additional calls to be made to the deployed contract.
96+
function deployExternalContract(bytes calldata code, bytes[] calldata calls)
97+
external
98+
returns (address deploymentAddress);
99+
91100
/// @notice Returns the {IOrchestrator_v1} {IInverterBeacon_v1} address.
92101
/// @return OrchestratorImplementationBeacon The {IInverterBeacon_v1} of the {Orchestrator_v1} Implementation.
93102
function beacon() external view returns (IInverterBeacon_v1);

0 commit comments

Comments
 (0)