Skip to main content

Documentation Index

Fetch the complete documentation index at: https://kleros-mintlify-changelog-2026-05-12-1778458371.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Stores dispute templates that define the question, answer options, and metadata presented to jurors. Templates are referenced by ID when creating disputes.

Methods

setDisputeTemplate(string _templateTag, string _templateData, string _templateDataMappings) → uint256

Registers a new dispute template. Returns the template ID.
  • _templateTag Optional tag for categorization
  • _templateData JSON template string (see Dispute Template format)
  • _templateDataMappings JSON mapping for dynamic data population

Events

EventDescription
DisputeTemplate(templateId, templateTag, templateData, templateDataMappings)New template registered
View Source