[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_pythAddress",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "FeeRequired",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint8",
        "name": "updateType",
        "type": "uint8"
      }
    ],
    "name": "NotSupported",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "OnlyOnDevFork",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "oracleContract",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "oracleQuery",
        "type": "bytes"
      }
    ],
    "name": "OracleDataRequired",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "OverflowInt256ToUint256",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "OverflowUint256ToInt256",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "uint64",
        "name": "requestedTime",
        "type": "uint64"
      },
      {
        "indexed": false,
        "internalType": "int256",
        "name": "newPrice",
        "type": "int256"
      },
      {
        "indexed": false,
        "internalType": "int32",
        "name": "expo",
        "type": "int32"
      }
    ],
    "name": "ForkBenchmarkPriceSet",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "int256",
        "name": "newPrice",
        "type": "int256"
      }
    ],
    "name": "ForkLatestPriceSet",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "bytes",
        "name": "signedOffchainData",
        "type": "bytes"
      }
    ],
    "name": "fulfillOracleQuery",
    "outputs": [],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "internalType": "uint64",
        "name": "requestedTime",
        "type": "uint64"
      }
    ],
    "name": "getBenchmarkPrice",
    "outputs": [
      {
        "internalType": "int256",
        "name": "",
        "type": "int256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "stalenessTolerance",
        "type": "uint256"
      }
    ],
    "name": "getLatestPrice",
    "outputs": [
      {
        "internalType": "int256",
        "name": "",
        "type": "int256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "oracleId",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "pythAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "internalType": "uint64",
        "name": "requestedTime",
        "type": "uint64"
      },
      {
        "internalType": "int256",
        "name": "newPrice",
        "type": "int256"
      },
      {
        "internalType": "int32",
        "name": "expo",
        "type": "int32"
      }
    ],
    "name": "setBenchmarkPrice",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "priceId",
        "type": "bytes32"
      },
      {
        "internalType": "int256",
        "name": "newPrice",
        "type": "int256"
      }
    ],
    "name": "setLatestPrice",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]