Kleros is the blockchain dispute resolution layer. Fast, open and affordable justice for all. It's an open source online dispute resolution protocol which uses blockchain and crowdsourcing to fairly adjudicate disputes.
This implementation was submitted to the The Graph Hackathon
Below mainnet contracts are indexed.
This PoC aims to demonstrate how easily Kleros dispute data can be indexed and queried using GraphQL. The subgraph includes indexed dispute data from the smart contract deployed on the Ethereum mainnet. Among the main features that can be exploited through the graph we have:
- Up-to-date Kleros dashboard: Dashboard data is indexed as soon as transaction is mined.
- Aggregated statistics for Analysis: Our subgraph aggregates user’s contributions in real-time and displays on dashboard:
Below statistics are displayed on dashboard:
- Total disputes created
- Total active courts
- Total Jurors who staked
- Total amount staked
- Total earnings in PNK token as well as ETH
- Total Penalty in PNK token
- Court table
- Recent Disputes table
- Charts for visualization: Bar and Pie charts are displayed for visualization of data.
- Bar chart for top 5 Juror who staked amount
- Pie chart to show how many disputes fall in different dispute status like Vote, appeal or executed.
You can query Kleros data using the explorer. There are saved queries which covers different business use cases.
You can visit Kleros Dashboard and visualize the Kleros dispute data.
If you want to contribute to the indexing of Kleros dispute data, feel free to fork the project and open a PR.