dgf-prototype/specification/docs/arbitration.md

74 lines
3.1 KiB
Markdown
Raw Permalink Normal View History

2024-06-10 16:56:56 -05:00
Here we outline a sequence representing the on-chain portion of the dispute initiation and resolution process. If a Disputed Contract includes a "Trigger clause", a Complainant may initiate a dispute. The disputed funds are sent to the Arbitration DAO, and are held in escrow until a decision is rendered.
2024-06-10 15:48:21 -05:00
```mermaid
sequenceDiagram
participant complainant as Complainant
participant contract as Disputed Contract
box Arbitration DAO
participant arbitration as Arbitration Contract
participant forum as Forum
participant bench as Bench
end
participant arbitrator as Arbitrator
participant arbitrators as Arbitration DAO Members
arbitrator ->> arbitration : Stake availability
complainant ->> contract : Initiate dispute
contract ->>+ arbitration : Transfer disputed funds
arbitration ->>+ arbitrator : Assign arbitrator
loop Resolution
arbitrator ->>+ forum : Post resolution
arbitrator ->> arbitration : Submit resolution
deactivate arbitrator
arbitration ->>+ bench : Initiate Validation Pool<br>Includes portion of disputed funds as fee
bench -->> forum : VP targets resolution post
arbitrators ->> bench : Stake for/against VP
alt VP passes, resolution favors complainant
2024-06-10 16:07:44 -05:00
alt Disputed Contract Appeals
contract ->> arbitration : Submit an appeal (See Appeal Process, below)
else No Appeal
2024-06-10 15:48:21 -05:00
arbitration ->> complainant : Transfer remaining disputed funds
2024-06-10 16:07:44 -05:00
end
2024-06-10 15:48:21 -05:00
else VP passes, resolution favors disputed contract
2024-06-10 16:07:44 -05:00
alt Complainant Appeals
complainant ->> arbitration : Submit an appeal (see Appeal Process, below)
else No Appeal
2024-06-10 15:48:21 -05:00
arbitration ->> contract : Transfer remaining disputed funds
2024-06-10 16:07:44 -05:00
end
2024-06-10 15:48:21 -05:00
else VP fails
arbitration ->> arbitrator : Assign new arbitrator
end
deactivate bench
end %% loop
2024-06-10 16:07:44 -05:00
opt Appeal Process
arbitration ->>+ arbitrator : Assign reviewer
loop Resolution
arbitrator ->>+ forum : Post resolution
arbitrator ->> arbitration : Submit resolution
deactivate arbitrator
arbitration ->>+ bench : Initiate Validation Pool<br>Includes portion of disputed funds as fee
bench -->> forum : VP targets resolution post
arbitrators ->> bench : Stake for/against VP
alt VP passes, resolution favors complainant
arbitration ->> complainant : Transfer remaining disputed funds
else VP passes, resolution favors disputed contract
arbitration ->> contract : Transfer remaining disputed funds
else VP fails
arbitration ->> arbitrator : Assign new reviewer
end %% alt
end %% loop
end %% opt
2024-06-10 15:48:21 -05:00
deactivate arbitration
deactivate forum
2024-06-10 16:56:56 -05:00
```
The above sequence assumes that each instance of an Arbitration contract corresponds to a particular area of expertise. A contract which wants to support dispute initiation must select an Arbitration contract in advance, and the dispute will be assigned to an Arbitrator who has staked availability on that Arbitration contract.
2024-06-10 15:48:21 -05:00
2024-06-10 16:56:56 -05:00
A single Arbitration DAO may support multiple areas of expertise by deploying an Arbitration contract instance for each area of expertise. However, all of these instances would be governed by a single type of Reputation.
2024-06-10 15:48:21 -05:00
2024-06-10 16:56:56 -05:00
Alternatively, a new Arbitration DAO may be deployed for a given area of expertise. This Arb DAO would have its own type of Reputation, independent of other Arb DAOs.