Settling a Dispute

After the hunter responds to your dispute, your bounty and the hunter's work will move to the Dispute Responded To tab. Once the dispute period of 1 week is over, you can settle the dispute by clicking Settle. You will be taken to a Settle page pop-up where you can confirm that you would like to settle the dispute.

Settling this dispute will result in 1 of 3 outcomes:

  1. You win the dispute and your escrowed funds plus your dispute bond + dispute fee + 1/2 of the hunter's dispute bond will be sent to you.

  2. The hunter wins the dispute and your escrowed funds plus their dispute bond + their dispute fee + 1/2 of your dispute bond will be sent to them.

  3. The dispute ends in a tie and you get 1/2 of your escrowed funds back while the hunter gets 1/2 of the escrowed funds plus their dispute bond + their dispute fee + 1/2 of your dispute bond.

payoutIfDispute

function payoutIfDispute(string _bountyAppId, address _creator, address _hunter, uint32 _timestamp, bytes _ancillaryData, struct SkinnyOptimisticOracleInterface.Request _request) external

Creator or hunter settles an outstanding UMA dispute

Checks that caller is either the creator or hunter to ensure correct payout data

Checks that the bounty was disputed in Cornucopia

Handles the cases where dispute is settled, still live, expired, or hunter hasn't responded to the dispute

Handles the cases where the creator wins the dispute, hunter wins the dispute, or they tie

Parameters

Name
Type
Description

_bountyAppId

string

The bountyId for the given bounty

_creator

address

The creator's address

_hunter

address

The hunter's address

_timestamp

uint32

The timestamp when the creator called initiateDispute and the dispute was created in UMA

_ancillaryData

bytes

The dispute data UMA holders use to judge the dispute

_request

struct SkinnyOptimisticOracleInterface.Request

The UMA request struct representing the dispute

FundsSent

After settling the dispute, the bounty and the hunter's work will move to the Finished tab.

Last updated