You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @dev To be emitted when one of the parties successfully paid its appeal fees.
114
+
/** @dev To be emitted when the appeal fees of one of the parties are fully funded.
114
115
* @param _taskID The ID of the respective task.
115
-
* @param _party The party that paid appeal fees.
116
+
* @param _party The party that is fully funded.
116
117
*/
117
118
event HasPaidAppealFee(uintindexed_taskID, Party _party);
118
119
@@ -180,21 +181,21 @@ contract Linguo is Arbitrable {
180
181
challengeMultiplier = _challengeMultiplier;
181
182
}
182
183
183
-
/** @dev Changes the percentage of arbitration fees that must be paid by parties if there was no winner and loser in previous round.
184
+
/** @dev Changes the percentage of arbitration fees that must be paid by parties as a fee stake if there was no winner and loser in the previous round.
184
185
* @param _sharedStakeMultiplier A new value of the multiplier of the appeal cost in case when there is no winner/loser in previous round. In basis point.
185
186
*/
186
187
function changeSharedStakeMultiplier(uint_sharedStakeMultiplier) public onlyGovernor {
187
188
sharedStakeMultiplier = _sharedStakeMultiplier;
188
189
}
189
190
190
-
/** @dev Changes the percentage of arbitration fees that must be paid by the party that won the previous round.
191
+
/** @dev Changes the percentage of arbitration fees that must be paid as a fee stake by the party that won the previous round.
191
192
* @param _winnerStakeMultiplier A new value of the multiplier of the appeal cost that the winner of the previous round has to pay. In basis points.
192
193
*/
193
194
function changeWinnerStakeMultiplier(uint_winnerStakeMultiplier) public onlyGovernor {
194
195
winnerStakeMultiplier = _winnerStakeMultiplier;
195
196
}
196
197
197
-
/** @dev Changes the percentage of arbitration fees that must be paid by the party that lost the previous round.
198
+
/** @dev Changes the percentage of arbitration fees that must be paid as a fee stake by the party that lost the previous round.
198
199
* @param _loserStakeMultiplier A new value of the multiplier of the appeal cost that the party that lost the previous round has to pay. In basis points.
199
200
*/
200
201
function changeLoserStakeMultiplier(uint_loserStakeMultiplier) public onlyGovernor {
@@ -242,10 +243,10 @@ contract Linguo is Arbitrable {
/** @dev Takes up to the total amount required to fund a side of an appeal. Reimburses the rest. Creates an appeal if all sides are fully funded.
@@ -463,8 +469,8 @@ contract Linguo is Arbitrable {
463
469
withdrawFeesAndRewards(_beneficiary, _taskID, i);
464
470
}
465
471
466
-
/** @dev Gives a ruling for a dispute. Must be called by the arbitrator.
467
-
* The purpose of this function is to ensure that the address calling it has the right to rule on the contract.
472
+
/** @dev Gives a ruling for a dispute. Can only be called by the arbitrator.
473
+
* The purpose of this function is to ensure that the address calling it has the right to rule on the contract and to invert the ruling in the case a party loses from lack of appeal fees funding.
468
474
* @param _disputeID ID of the dispute in the Arbitrator contract.
469
475
* @param _ruling Ruling given by the arbitrator. Note that 0 is reserved for "Refuse to arbitrate".
0 commit comments