api3dao / api3-dao-dashboard

API3 DAO dashboard
api3.eth/
14 stars 14 forks source link

DAO-226 Claim list: Alternative mechanism for showing the evaluation time for API3/Kleros #366

Closed mcoetzee closed 1 year ago

mcoetzee commented 1 year ago

What does this change?

How did you action this task?

Kleros gives their ruling after the Vote period, so when we are in the Evidence period, we get the vote period end date by adding the vote period to the evidence period (the commit period is skipped because the sub court does not have hidden votes).

// Evidence period
deadline = addSeconds(dispute.periodChangedAt, evidencePeriodLength + votePeriodLength);

The period lengths are provided by the sub court (subCourt.timesPerPeriod[])

Screenshots

Screenshot 2022-11-28 at 15 05 16 Screenshot 2022-11-28 at 13 30 55
linear[bot] commented 1 year ago

DAO-226 Alternative mechanism for showing the maximum evaluation time for API3/Kleros