confio / tgrade-app

Tgrade - building a secure, regulatory friendly, decentralised finance platform.
https://dapp.tgrade.finance
Apache License 2.0
4 stars 4 forks source link

Arbiter Pool : Dispute Resolution Mechanism #248

Open kmw101 opened 2 years ago

kmw101 commented 2 years ago

Dispute Resolution

There is an example here which describes how it works.

Raise a Dispute

There is a Raise Dispute proposal and it requires the following:

The submit button remains inactive until the required fields have been completed and valid. The addresses need validation and there is a length limit for the description of 200 characters.

Party One clicks submit and it automatically votes for Party One and the proposal is in Pending Completion state until the Party Two confirms.

Confirm Dispute

Party Two selects the Pending Completion proposal and is shown the proposal details of the two addresses and the short text and is given the option to Confirm or Reject.

On Confirming the proposal is set to Pending Resolution

Arbiter Pool Resolves Dispute

A member of the Arbiter Pool selects the Pending Resolution and then adds the addresses of the Arbiter Pool members who were involved in the decision making. The addresses are checked for completeness.

On Submission the Arbiter Pool members included in the resolution must vote.

When the proposal passes the quorum of 51% and the Threshold of 51% then the status is set to Resolution passed - the listed Arbiter Pool members are paid 100TGD from the revenue account.

alexia-ki commented 2 years ago

Flow is here https://www.figma.com/file/8PU2KrQ9J3lnzcFysQ3pc7/desktop-light?node-id=0%3A1

kmw101 commented 2 years ago

There are some modifications to the proposed flow above:

Raise a Dispute

There is an additional requirement

NEW STEP: Withdrawal of the proposal

This occurs between Confirm Dispute and Arbiter Pool Resolves Dispute There is a one week cooling off period to give time for the parties to resolve the dispute. Either party can select the option to withdraw and the other party must sign to agree. On withdrawal the 2 parties get 80% of the TGD deposited returned. The remaining 20% is sent to the Arbiter Pool funds.

Arbiter Pool Resolves Dispute

There is an additional step where the selected Arbiter Pool members have an optional field to capture the hash of the public document stored on IPFS.

The section on Arbiter Pool pay is changed from the listed Arbiter Pool members are paid 100TGD from the revenue account to the selected Arbiter Pool members are paid from the escrow tokens deposited.

alexia-ki commented 2 years ago

Updated flow of the Arbiter pool is here https://www.figma.com/file/8PU2KrQ9J3lnzcFysQ3pc7/desktop-light?node-id=5172%3A3415