Skip to main content

OptimisticRequesterTest

OptimisticRequesterTest#

Functions#

constructor(contract OptimisticOracle _optimisticOracle) (public)
requestPrice(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData, contract IERC20 currency, uint256 reward) (external)
settleAndGetPrice(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData) → int256 (external)
setBond(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData, uint256 bond) (external)
setRefundOnDispute(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData) (external)
setCustomLiveness(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData, uint256 customLiveness) (external)
setRevert(bool _shouldRevert) (external)
setExpirationTimestamp(uint256 _expirationTimestamp) (external)
clearState() (external)
priceProposed(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData) (external)
priceDisputed(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData, uint256 _refund) (external)
priceSettled(bytes32 _identifier, uint256 _timestamp, bytes _ancillaryData, int256 _price) (external)