Skip to main content
ERC-1497 is the V1 evidence standard. Kleros V2 replaces MetaEvidence with Dispute Templates registered in the DisputeTemplateRegistry, and extends evidence to support cross-chain submission. See the Architecture guide for V2 details.

Overview

ERC-1497 standardizes how DApps share context and evidence during dispute resolution. It defines two categories of information:
  • MetaEvidence: The context of a dispute: the agreement, parties involved, ruling options, and the question jurors need to answer. Each dispute has one piece of MetaEvidence, created at the same time as the agreement.
  • Evidence: Proof submitted by any party to support their position in a dispute.
Both are stored off-chain (typically on IPFS) and referenced on-chain through event logs.

Interface

ERC-1497 introduces three events:

MetaEvidence JSON

MetaEvidence is a JSON file hosted on IPFS that provides dispute context:

Evidence JSON

Each piece of evidence is a JSON file:

Integrity Verification

The JSON for both MetaEvidence and Evidence contains fileHash fields. Arbitrators use these hashes to verify that files have not been tampered with after submission. IPFS content-addressing provides built-in integrity for files hosted on IPFS, since the CID itself is derived from the file content.

Usage in a V1 Contract


V2 Replacement

In V2, ERC-1497 is replaced by:
  • Dispute Templates: Registered in DisputeTemplateRegistry with Mustache-style variable interpolation. Templates define the dispute question, ruling options, and policy reference.
  • DisputeRequest event: Replaces the Dispute event, linking disputes to templates by templateId.
  • Cross-chain evidence: Evidence can be submitted on either the home or foreign chain, with the Court UI consolidating from both.

References