{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/interfaces/UMAprotocol/SkinnyOptimisticOracleInterface.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "abstract contract SkinnyOptimisticOracleInterface {\n  event RequestPrice(\n    address indexed requester,\n    bytes32 indexed identifier,\n    uint32 timestamp,\n    bytes ancillaryData,\n    Request request\n  );\n  event ProposePrice(\n    address indexed requester,\n    bytes32 indexed identifier,\n    uint32 timestamp,\n    bytes ancillaryData,\n    Request request\n  );\n  event DisputePrice(\n    address indexed requester,\n    bytes32 indexed identifier,\n    uint32 timestamp,\n    bytes ancillaryData,\n    Request request\n  );\n  event Settle(\n    address indexed requester,\n    bytes32 indexed identifier,\n    uint32 timestamp,\n    bytes ancillaryData,\n    Request request\n  );\n  // Struct representing a price request. Note that this differs from the OptimisticOracleInterface's Request struct\n  // in that refundOnDispute is removed.\n  struct Request {\n    address proposer; // Address of the proposer.\n    address disputer; // Address of the disputer.\n    IERC20 currency; // ERC20 token used to pay rewards and fees.\n    bool settled; // True if the request is settled.\n    int256 proposedPrice; // Price that the proposer submitted.\n    int256 resolvedPrice; // Price resolved once the request is settled.\n    uint256 expirationTime; // Time at which the request auto-settles without a dispute.\n    uint256 reward; // Amount of the currency to pay to the proposer on settlement.\n    uint256 finalFee; // Final fee to pay to the Store upon request to the DVM.\n    uint256 bond; // Bond that the proposer and disputer must pay on top of the final fee.\n    uint256 customLiveness; // Custom liveness value set by the requester.\n  }\n\n  // This value must be <= the Voting contract's `ancillaryBytesLimit` value otherwise it is possible\n  // that a price can be requested to this contract successfully, but cannot be disputed because the DVM refuses\n  // to accept a price request made with ancillary data length over a certain size.\n  uint256 public constant ancillaryBytesLimit = 8192;\n\n  /**\n   * @notice Requests a new price.\n   * @param identifier price identifier being requested.\n   * @param timestamp timestamp of the price being requested.\n   * @param ancillaryData ancillary data representing additional args being passed with the price request.\n   * @param currency ERC20 token used for payment of rewards and fees. Must be approved for use with the DVM.\n   * @param reward reward offered to a successful proposer. Will be pulled from the caller. Note: this can be 0,\n   *               which could make sense if the contract requests and proposes the value in the same call or\n   *               provides its own reward system.\n   * @param bond custom proposal bond to set for request. If set to 0, defaults to the final fee.\n   * @param customLiveness custom proposal liveness to set for request.\n   * @return totalBond default bond + final fee that the proposer and disputer will be required to pay.\n   */\n  function requestPrice(\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    IERC20 currency,\n    uint256 reward,\n    uint256 bond,\n    uint256 customLiveness\n  ) external virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Proposes a price value on another address' behalf. Note: this address will receive any rewards that come\n   * from this proposal. However, any bonds are pulled from the caller.\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters whose hash must match the request that the caller wants to\n   * propose a price for.\n   * @param proposer address to set as the proposer.\n   * @param proposedPrice price being proposed.\n   * @return totalBond the amount that's pulled from the caller's wallet as a bond. The bond will be returned to\n   * the proposer once settled if the proposal is correct.\n   */\n  function proposePriceFor(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request,\n    address proposer,\n    int256 proposedPrice\n  ) public virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Proposes a price value where caller is the proposer.\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters whose hash must match the request that the caller wants to\n   * propose a price for.\n   * @param proposedPrice price being proposed.\n   * @return totalBond the amount that's pulled from the caller's wallet as a bond. The bond will be returned to\n   * the proposer once settled if the proposal is correct.\n   */\n  function proposePrice(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request,\n    int256 proposedPrice\n  ) external virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Combines logic of requestPrice and proposePrice while taking advantage of gas savings from not having to\n   * overwrite Request params that a normal requestPrice() => proposePrice() flow would entail. Note: The proposer\n   * will receive any rewards that come from this proposal. However, any bonds are pulled from the caller.\n   * @dev The caller is the requester, but the proposer can be customized.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param currency ERC20 token used for payment of rewards and fees. Must be approved for use with the DVM.\n   * @param reward reward offered to a successful proposer. Will be pulled from the caller. Note: this can be 0,\n   *               which could make sense if the contract requests and proposes the value in the same call or\n   *               provides its own reward system.\n   * @param bond custom proposal bond to set for request. If set to 0, defaults to the final fee.\n   * @param customLiveness custom proposal liveness to set for request.\n   * @param proposer address to set as the proposer.\n   * @param proposedPrice price being proposed.\n   * @return totalBond the amount that's pulled from the caller's wallet as a bond. The bond will be returned to\n   * the proposer once settled if the proposal is correct.\n   */\n  function requestAndProposePriceFor(\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    IERC20 currency,\n    uint256 reward,\n    uint256 bond,\n    uint256 customLiveness,\n    address proposer,\n    int256 proposedPrice\n  ) external virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Disputes a price request with an active proposal on another address' behalf. Note: this address will\n   * receive any rewards that come from this dispute. However, any bonds are pulled from the caller.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters whose hash must match the request that the caller wants to\n   * dispute.\n   * @param disputer address to set as the disputer.\n   * @param requester sender of the initial price request.\n   * @return totalBond the amount that's pulled from the caller's wallet as a bond. The bond will be returned to\n   * the disputer once settled if the dispute was valid (the proposal was incorrect).\n   */\n  function disputePriceFor(\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request,\n    address disputer,\n    address requester\n  ) public virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Disputes a price request with an active proposal where caller is the disputer.\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters whose hash must match the request that the caller wants to\n   * dispute.\n   * @return totalBond the amount that's pulled from the caller's wallet as a bond. The bond will be returned to\n   * the disputer once settled if the dispute was valid (the proposal was incorrect).\n   */\n  function disputePrice(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request\n  ) external virtual returns (uint256 totalBond);\n\n  /**\n   * @notice Attempts to settle an outstanding price request. Will revert if it isn't settleable.\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters whose hash must match the request that the caller wants to\n   * settle.\n   * @return payout the amount that the \"winner\" (proposer or disputer) receives on settlement. This amount includes\n   * the returned bonds as well as additional rewards.\n   * @return resolvedPrice the price that the request settled to.\n   */\n  function settle(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request\n  ) external virtual returns (uint256 payout, int256 resolvedPrice);\n\n  /**\n   * @notice Computes the current state of a price request. See the State enum for more details.\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters.\n   * @return the State.\n   */\n  function getState(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request\n  ) external virtual returns (OptimisticOracleInterface.State);\n\n  /**\n   * @notice Checks if a given request has resolved, expired or been settled (i.e the optimistic oracle has a price).\n   * @param requester sender of the initial price request.\n   * @param identifier price identifier to identify the existing request.\n   * @param timestamp timestamp to identify the existing request.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param request price request parameters. The hash of these parameters must match with the request hash that is\n   * associated with the price request unique ID {requester, identifier, timestamp, ancillaryData}, or this method\n   * will revert.\n   * @return boolean indicating true if price exists and false if not.\n   */\n  function hasPrice(\n    address requester,\n    bytes32 identifier,\n    uint32 timestamp,\n    bytes memory ancillaryData,\n    Request memory request\n  ) public virtual returns (bool);\n\n  /**\n   * @notice Generates stamped ancillary data in the format that it would be used in the case of a price dispute.\n   * @param ancillaryData ancillary data of the price being requested.\n   * @param requester sender of the initial price request.\n   * @return the stamped ancillary bytes.\n   */\n  function stampAncillaryData(bytes memory ancillaryData, address requester)\n    public\n    pure\n    virtual\n    returns (bytes memory);\n}"
}