dgf-prototype/specification/docs/arbitration.md

67 lines
2.1 KiB
Markdown
Raw Normal View History

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
```