Skip to content

Commit

Permalink
feat(t2cr): allow parties to submit evidence
Browse files Browse the repository at this point in the history
  • Loading branch information
eccentricexit committed Nov 20, 2018
1 parent 9dbcdbb commit 928ccd5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/standard/permission/ArbitrableTokenList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,15 @@ contract ArbitrableTokenList is PermissionInterface, Arbitrable {
emit ItemStatusChange(item.submitter, address(0), _tokenID, item.status, false);
}

/** @dev Submit a reference to evidence. EVENT.
* @param _evidence A link to an evidence using its URI.
*/
function submitEvidence(bytes32 _tokenID, string _evidence) public {
Item storage item = items[_tokenID];
require(item.disputed, "The item is not disputed");
emit Evidence(arbitrator,item.disputeID,msg.sender,_evidence);
}

// ************************ //
// * Governance * //
// ************************ //
Expand Down

0 comments on commit 928ccd5

Please sign in to comment.