Skip to content

Commit ced147d

Browse files
committed
Add functions to NodeRotation
1 parent 0fd8a67 commit ced147d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

contracts/INodeRotation.sol

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,13 @@ interface INodeRotation {
5353
external
5454
returns (uint newNode);
5555
function selectNodeToGroup(bytes32 schainHash) external returns (uint nodeIndex);
56-
function getRotation(bytes32 schainHash) external view returns (Rotation memory);
57-
function getLeavingHistory(uint nodeIndex) external view returns (LeavingHistory[] memory);
58-
function isRotationInProgress(bytes32 schainHash) external view returns (bool);
56+
57+
58+
function isSchainCreation(bytes32 schainHash) external view returns (bool);
5959
function isNewNodeFound(bytes32 schainHash) external view returns (bool);
60+
function isRotationInProgress(bytes32 schainHash) external view returns (bool);
61+
function getLeavingHistory(uint nodeIndex) external view returns (LeavingHistory[] memory);
62+
function getOSet(bytes32 schainHash) external view returns (uint256[] memory);
6063
function getPreviousNode(bytes32 schainHash, uint256 nodeIndex) external view returns (uint256);
64+
function getRotation(bytes32 schainHash) external view returns (Rotation memory);
6165
}

0 commit comments

Comments
 (0)