@@ -24,86 +24,86 @@ interface IDisputeKit {
24
24
25
25
/** @dev Creates a local dispute and maps it to the dispute ID in the Core contract.
26
26
* Note: Access restricted to Kleros Core only.
27
- * @param _disputeID The ID of the dispute in Kleros Core.
27
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
28
28
* @param _numberOfChoices Number of choices of the dispute
29
29
* @param _extraData Additional info about the dispute, for possible use in future dispute kits.
30
30
*/
31
31
function createDispute (
32
- uint256 _disputeID ,
32
+ uint256 _coreDisputeID ,
33
33
uint256 _numberOfChoices ,
34
34
bytes calldata _extraData
35
35
) external ;
36
36
37
37
/** @dev Draws the juror from the sortition tree. The drawn address is picked up by Kleros Core.
38
38
* Note: Access restricted to Kleros Core only.
39
- * @param _disputeID The ID of the dispute in Kleros Core.
39
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
40
40
* @return drawnAddress The drawn address.
41
41
*/
42
- function draw (uint256 _disputeID ) external returns (address drawnAddress );
42
+ function draw (uint256 _coreDisputeID ) external returns (address drawnAddress );
43
43
44
44
// ************************************* //
45
45
// * Public Views * //
46
46
// ************************************* //
47
47
48
48
/** @dev Gets the current ruling of a specified dispute.
49
- * @param _disputeID The ID of the dispute in Kleros Core.
49
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
50
50
* @return ruling The current ruling.
51
51
*/
52
- function currentRuling (uint256 _disputeID ) external view returns (uint256 ruling );
52
+ function currentRuling (uint256 _coreDisputeID ) external view returns (uint256 ruling );
53
53
54
54
/** @dev Returns the voting data from the most relevant round.
55
- * @param _disputeID The ID of the dispute in Kleros Core.
55
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
56
56
* @return winningChoiece The winning choice of this round.
57
57
* @return tied Whether it's a tie or not.
58
58
*/
59
- function getLastRoundResult (uint256 _disputeID ) external view returns (uint256 winningChoiece , bool tied );
59
+ function getLastRoundResult (uint256 _coreDisputeID ) external view returns (uint256 winningChoiece , bool tied );
60
60
61
61
/** @dev Gets the degree of coherence of a particular voter. This function is called by Kleros Core in order to determine the amount of the reward.
62
- * @param _disputeID The ID of the dispute in Kleros Core.
63
- * @param _round The ID of the round.
62
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
63
+ * @param _coreRoundID The ID of the round in Kleros Core, not in the Dispute Kit .
64
64
* @param _voteID The ID of the vote.
65
65
* @return The degree of coherence in basis points.
66
66
*/
67
67
function getDegreeOfCoherence (
68
- uint256 _disputeID ,
69
- uint256 _round ,
68
+ uint256 _coreDisputeID ,
69
+ uint256 _coreRoundID ,
70
70
uint256 _voteID
71
71
) external view returns (uint256 );
72
72
73
73
/** @dev Gets the number of jurors who are eligible to a reward in this round.
74
- * @param _disputeID The ID of the dispute in Kleros Core.
75
- * @param _round The ID of the round.
74
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
75
+ * @param _coreRoundID The ID of the round in Kleros Core, not in the Dispute Kit .
76
76
* @return The number of coherent jurors.
77
77
*/
78
- function getCoherentCount (uint256 _disputeID , uint256 _round ) external view returns (uint256 );
78
+ function getCoherentCount (uint256 _coreDisputeID , uint256 _coreRoundID ) external view returns (uint256 );
79
79
80
80
/** @dev Returns true if all of the jurors have cast their commits for the last round.
81
- * @param _disputeID The ID of the dispute in Kleros Core.
81
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
82
82
* @return Whether all of the jurors have cast their commits for the last round.
83
83
*/
84
- function areCommitsAllCast (uint256 _disputeID ) external view returns (bool );
84
+ function areCommitsAllCast (uint256 _coreDisputeID ) external view returns (bool );
85
85
86
86
/** @dev Returns true if all of the jurors have cast their votes for the last round.
87
- * @param _disputeID The ID of the dispute in Kleros Core.
87
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
88
88
* @return Whether all of the jurors have cast their votes for the last round.
89
89
*/
90
- function areVotesAllCast (uint256 _disputeID ) external view returns (bool );
90
+ function areVotesAllCast (uint256 _coreDisputeID ) external view returns (bool );
91
91
92
92
/** @dev Returns true if the specified voter was active in this round.
93
- * @param _disputeID The ID of the dispute in Kleros Core.
94
- * @param _round The ID of the round.
93
+ * @param _coreDisputeID The ID of the dispute in Kleros Core, not in the Dispute Kit .
94
+ * @param _coreRoundID The ID of the round in Kleros Core, not in the Dispute Kit .
95
95
* @param _voteID The ID of the voter.
96
96
* @return Whether the voter was active or not.
97
97
*/
98
98
function isVoteActive (
99
- uint256 _disputeID ,
100
- uint256 _round ,
99
+ uint256 _coreDisputeID ,
100
+ uint256 _coreRoundID ,
101
101
uint256 _voteID
102
102
) external view returns (bool );
103
103
104
104
function getRoundInfo (
105
- uint256 _disputeID ,
106
- uint256 _round ,
105
+ uint256 _coreDisputeID ,
106
+ uint256 _coreRoundID ,
107
107
uint256 _choice
108
108
)
109
109
external
@@ -118,8 +118,8 @@ interface IDisputeKit {
118
118
);
119
119
120
120
function getVoteInfo (
121
- uint256 _disputeID ,
122
- uint256 _round ,
121
+ uint256 _coreDisputeID ,
122
+ uint256 _coreRoundID ,
123
123
uint256 _voteID
124
124
)
125
125
external
0 commit comments