Skip to content

Commit

Permalink
feat: add factory
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Oct 24, 2024
1 parent 5e291dc commit b80c570
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/contracts/periphery/OperatorFactory.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

import "./Operator.sol";

contract OperatorFactory {
function createOperator(address owner) external returns (Operator) {
return new Operator(owner);
}
}

0 comments on commit b80c570

Please sign in to comment.