ArbitrationProxyInterfaces
IHomeArbitrationProxy
RequestNotified
To be emitted when the Realitio contract has been notified of an arbitration request.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
_maxPrevious
uint256
The maximum value of the previous bond for the question.
RequestRejected
To be emitted when arbitration request is rejected.
This can happen if the current bond for the question is higher than maxPrevious or if the question is already finalized.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
_maxPrevious
uint256
The maximum value of the current bond for the question.
_reason
string
The reason why the request was rejected.
RequestAcknowledged
To be emitted when the arbitration request acknowledgement is sent to the Foreign Chain.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
RequestCanceled
To be emitted when the arbitration request is canceled.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
ArbitrationFailed
To be emitted when the dispute could not be created on the Foreign Chain.
This will happen if the arbitration fee increases in between the arbitration request and acknowledgement.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
ArbitratorAnswered
To be emitted when receiving the answer from the arbitrator.
Parameters
_questionID
bytes32
The ID of the question.
_answer
bytes32
The answer from the arbitrator.
ArbitrationFinished
To be emitted when reporting the arbitrator answer to Realitio.
Parameters
_questionID
bytes32
The ID of the question.
receiveArbitrationRequest
Receives the requested arbitration for a question. TRUSTED.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
_maxPrevious
uint256
The maximum value of the current bond for the question. The arbitration request will get rejected if the current bond is greater than _maxPrevious. If set to 0, _maxPrevious is ignored.
handleNotifiedRequest
Handles arbitration request after it has been notified to Realitio for a given question.
This method exists because receiveArbitrationRequest
is called by the AMB and cannot send messages back to it.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
handleRejectedRequest
Handles arbitration request after it has been rejected.
_This method exists because receiveArbitrationRequest
is called by the AMB and cannot send messages back to it. Reasons why the request might be rejected:
The question does not exist
The question was not answered yet
The question bond value changed while the arbitration was being requested
Another request was already accepted_
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
receiveArbitrationFailure
Receives a failed attempt to request arbitration. TRUSTED.
Currently this can happen only if the arbitration cost increased.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
receiveArbitrationAnswer
Receives the answer to a specified question. TRUSTED.
Parameters
_questionID
bytes32
The ID of the question.
_answer
bytes32
The answer from the arbitrator.
IForeignArbitrationProxy
ArbitrationRequested
Should be emitted when the arbitration is requested.
Parameters
_questionID
bytes32
The ID of the question with the request for arbitration.
_requester
address
The address of the arbitration requester.
_maxPrevious
uint256
The maximum value of the current bond for the question. The arbitration request will get rejected if the current bond is greater than _maxPrevious. If set to 0, _maxPrevious is ignored.
ArbitrationCreated
Should be emitted when the dispute is created.
Parameters
_questionID
bytes32
The ID of the question with the request for arbitration.
_requester
address
The address of the arbitration requester.
_disputeID
uint256
The ID of the dispute.
ArbitrationCanceled
Should be emitted when the arbitration is canceled by the Home Chain.
Parameters
_questionID
bytes32
The ID of the question with the request for arbitration.
_requester
address
The address of the arbitration requester.
ArbitrationFailed
Should be emitted when the dispute could not be created.
This will happen if there is an increase in the arbitration fees between the time the arbitration is made and the time it is acknowledged.
Parameters
_questionID
bytes32
The ID of the question with the request for arbitration.
_requester
address
The address of the arbitration requester.
requestArbitration
Requests arbitration for the given question.
Parameters
_questionID
bytes32
The ID of the question.
_maxPrevious
uint256
The maximum value of the current bond for the question. The arbitration request will get rejected if the current bond is greater than _maxPrevious. If set to 0, _maxPrevious is ignored.
receiveArbitrationAcknowledgement
Receives the acknowledgement of the arbitration request for the given question and requester. TRUSTED.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
receiveArbitrationCancelation
Receives the cancelation of the arbitration request for the given question and requester. TRUSTED.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
handleFailedDisputeCreation
Cancels the arbitration in case the dispute could not be created.
Parameters
_questionID
bytes32
The ID of the question.
_requester
address
The address of the arbitration requester.
getDisputeFee
Gets the fee to create a dispute.
Parameters
_questionID
bytes32
the ID of the question.
Return Values
[0]
uint256
The fee to create a dispute.
Last updated