RealitioInterface
Events
LogNewAnswer
LogNewTemplate
LogNewQuestion
Functions
notifyOfArbitrationRequest
Notify the contract that the arbitrator has been paid for a question, freezing it pending their decision.
The arbitrator contract is trusted to only call this if they've been paid, and tell us who paid them.
Parameters
question_id
bytes32
The ID of the question.
requester
address
The account that requested arbitration.
max_previous
uint256
If specified, reverts if a bond higher than this was submitted after you sent your transaction.
cancelArbitration
Cancel a previously-requested arbitration and extend the timeout
Useful when doing arbitration across chains that can't be requested atomically
Parameters
question_id
bytes32
The ID of the question
assignWinnerAndSubmitAnswerByArbitrator
Submit the answer for a question, for use by the arbitrator, working out the appropriate winner based on the last answer details.
Doesn't require (or allow) a bond.
Parameters
question_id
bytes32
The ID of the question
answer
bytes32
The answer, encoded into bytes32
payee_if_wrong
address
The account to be credited as winner if the last answer given is wrong, usually the account that paid the arbitrator
last_history_hash
bytes32
The history hash before the final one
last_answer_or_commitment_id
bytes32
The last answer given, or the commitment ID if it was a commitment.
last_answerer
address
The address that supplied the last answer
Last updated