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/arbitrables/Escrow.sol
+38-28Lines changed: 38 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ contract Escrow is IArbitrableV2 {
62
62
IArbitratorV2 public arbitrator; // Address of the arbitrator contract.
63
63
bytespublic arbitratorExtraData; // Extra data to set up the arbitration.
64
64
IDisputeTemplateRegistry public templateRegistry; // The dispute template registry.
65
+
uint256public templateId; // The current dispute template identifier.
65
66
uint256publicimmutable feeTimeout; // Time in seconds a party can take to pay arbitration fees before being considered unresponsive and lose the dispute.
66
67
Transaction[] public transactions; // List of all created transactions.
67
68
mapping(uint256=>uint256) public disputeIDtoTransactionID; // Naps dispute ID to tx ID.
@@ -115,11 +116,15 @@ contract Escrow is IArbitrableV2 {
115
116
/// @dev Constructor.
116
117
/// @param _arbitrator The arbitrator of the contract.
117
118
/// @param _arbitratorExtraData Extra data for the arbitrator.
119
+
/// @param _templateData The dispute template data.
120
+
/// @param _templateDataMappings The dispute template data mappings.
118
121
/// @param _templateRegistry The dispute template registry.
119
122
/// @param _feeTimeout Arbitration fee timeout for the parties.
120
123
constructor(
121
124
IArbitratorV2 _arbitrator,
122
125
bytesmemory_arbitratorExtraData,
126
+
stringmemory_templateData,
127
+
stringmemory_templateDataMappings,
123
128
IDisputeTemplateRegistry _templateRegistry,
124
129
uint256_feeTimeout
125
130
) {
@@ -128,6 +133,8 @@ contract Escrow is IArbitrableV2 {
0 commit comments