Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dispute metaData in the vote options #58

Open
salgozino opened this issue Jul 15, 2021 · 1 comment
Open

add dispute metaData in the vote options #58

salgozino opened this issue Jul 15, 2021 · 1 comment

Comments

@salgozino
Copy link
Owner

Currently, the dispute Scanner is using the vote options:
0 = Refuse
1 = Yes
2 = No

But the metadata of each dispute should be used. Since this information it's in the arbitrable smarc contract instead of in the arbitrator (what Klerosboard reads), this could be achiveable using the next strategy:
Each Dispute has the information of the disputeID and the Arbitrable
With that info, we can look for the Dispute event that the arbitrable should emit for that dispute. Then, in that event we have metaEvidenceID. With that ID, we can search for the MetaEvidence event with the URL of the metaevidence (json file).

@salgozino
Copy link
Owner Author

A case where the metadata of the dispute has the voting options in other order than in the hardcoded in the site: Dispute 1125.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant