Responding to Creator's Dispute
If a creator initiated the dispute for the work you submitted to one of their bounties, the bounty will appear under the Dispute Initiated tab. Click Dispute and confirm that you want to respond to the creator's dispute. This entails posting the same bond amount and the bond token as the creator. Clicking on Dispute will then bring up an Approve page pop-up directing you to allow the Cornucopia contract to transfer the bond tokens into the contract. These tokens will then be sent to the UMA Optimistic Oracle contract. After choosing to either approve Cornucopia always or just for this dispute, a Dispute page will pop up where you can then elect to respond to the creator's dispute.
hunterDisputeResponse
function hunterDisputeResponse(string _bountyAppId, address _creator, uint32 _timestamp, bytes _ancillaryData, struct SkinnyOptimisticOracleInterface.Request _request) external returns (uint256)Hunter responds to dispute for a given bounty and creator
Checks that bounty has been disputed Request can be found from events emitted when initiateDispute is called
Parameters
_bountyAppId
string
The bountyId for the given bounty
_creator
address
The creator'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
Return Values
hunterBondAmt
uint256
The hunter's bond plus UMA's finalFee
DisputeRespondedTo
event DisputeRespondedTo(address creator, address hunter, string bountyAppId, string message)After responding to the dispute, the bounty will move to the Dispute Responded To tab.
Last updated