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
Copy file name to clipboardexpand all lines: contracts/src/arbitration/IArbitrator.sol
+3-3
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import "./IArbitrable.sol";
10
10
* Unlike the ERC-792 this standard doesn't have anything related to appeals, so each arbitrator can implement an appeal system that suits it the most.
11
11
* When developing arbitrator contracts we need to:
12
12
* - Define the functions for dispute creation (createDispute). Don't forget to store the arbitrated contract and the disputeID (which should be unique, may nbDisputes).
13
-
* - Define the functions for cost display (cost).
13
+
* - Define the functions for cost display (arbitrationCost).
14
14
* - Allow giving rulings. For this a function must call arbitrable.rule(disputeID, ruling).
15
15
*/
16
16
interfaceIArbitrator {
@@ -23,7 +23,7 @@ interface IArbitrator {
23
23
24
24
/**
25
25
* @dev Create a dispute. Must be called by the arbitrable contract.
26
-
* Must pay at least cost(_extraData).
26
+
* Must pay at least arbitrationCost(_extraData).
27
27
* @param _choices Amount of choices the arbitrator can make in this dispute.
28
28
* @param _extraData Can be used to give additional info on the dispute to be created.
29
29
* @return disputeID ID of the dispute created.
@@ -35,5 +35,5 @@ interface IArbitrator {
35
35
* @param _extraData Can be used to give additional info on the dispute to be created.
0 commit comments