Skip to content

Commit

Permalink
Merge pull request #82 from RealityETH/feature-fork-integration
Browse files Browse the repository at this point in the history
Expose the forkmanager() and parentContract() methods in the interface
  • Loading branch information
edmundedgar authored Oct 17, 2023
2 parents 1c164e7 + 055738b commit 0cadc66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions contracts/interfaces/IForkableStructure.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
pragma solidity ^0.8.20;

interface IForkableStructure {

function forkmanager() external view returns (address);

function parentContract() external view returns (address);

function getChildren() external view returns (address, address);
}
1 change: 0 additions & 1 deletion contracts/mixin/ForkableStructure.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pragma solidity ^0.8.20;

import {IForkableStructure} from "../interfaces/IForkableStructure.sol";
import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {ForkableStructure} from "./ForkableStructure.sol";
import {CreateChildren} from "../lib/CreateChildren.sol";

contract ForkableStructure is IForkableStructure, Initializable {
Expand Down

0 comments on commit 0cadc66

Please sign in to comment.