kleros / kleros-v2

Kleros version 2
https://v2.kleros.builders
MIT License
58 stars 41 forks source link

UI: add buttons for dispute-level maintenance #1601

Closed jaybuidl closed 2 weeks ago

jaybuidl commented 2 months ago

The Next Period button calls KC.passPeriod(dispute.id) The Execute button calls KC.executeRuling(dispute.id) The Distribute Rewards/Penalties button calls KC.execute(dispute.id, dispute.currentRoundIndex, 20)

If the prepareCall fails, make the corresponding button greyed out (disabled), possibly show the error message somewhere (in the console or in a tooltip?).

image