UltimateOracle¶
-
contract
UltimateOracle
is Proxied, Oracle, UltimateOracleData¶ Title: Ultimate oracle contract - Allows to swap oracle result for ultimate oracle result Author: Stefan George - <stefan@gnosis.pm> -
function
challengeOutcome
(int _outcome)¶
public
¶ Allows to challenge the oracle outcome
Parameters: - _outcome – Outcome to bid on
-
function
voteForOutcome
(int _outcome, uint amount)¶
public
¶ Allows to challenge the oracle outcome
Parameters: - _outcome – Outcome to bid on
- amount – Amount to bid
-
function
isChallengePeriodOver
()¶
public
view
returns (bool)
¶ Checks if time to challenge the outcome is over
Return: Is challenge period over?
-
function
isFrontRunnerPeriodOver
()¶
public
view
returns (bool)
¶ Checks if time to overbid the front runner is over
Return: Is front runner period over?
-
function
isChallenged
()¶
public
view
returns (bool)
¶ Checks if outcome was challenged
Return: Is challenged?
-
function