-
Notifications
You must be signed in to change notification settings - Fork 0
/
IColabXController.sol
36 lines (25 loc) · 1.04 KB
/
IColabXController.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.6;
import "./SharedStructs.sol";
interface IColabXController {
function agree(
string memory dealId,
SharedStructs.DealMembers memory members,
SharedStructs.DealTimeouts memory timeouts,
SharedStructs.DealPricing memory pricing
) external returns (SharedStructs.Agreement memory);
function addResult(
string memory dealId,
string memory resultsId,
string memory dataId,
uint256 instructionCount
) external;
function acceptResult(string memory dealId) external;
function checkResult(string memory dealId) external;
function mediationAcceptResult(string memory dealId) external;
function mediationRejectResult(string memory dealId) external;
function timeoutAgree(string memory dealId) external;
function timeoutSubmitResult(string memory dealId) external;
function timeoutJudgeResult(string memory dealId) external;
function timeoutMediateResult(string memory dealId) external;
}