{
  "contractName": "IWitPythErrors",
  "abi": [
    {
      "inputs": [],
      "name": "DeviantPrice",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "HotPrice",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidArgument",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidGovernanceTarget",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidUpdateData",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidUpdateDataSource",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "NoFreshUpdate",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "PriceFeedNotFound",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "PriceFeedNotFoundWithinRange",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "StalePrice",
      "type": "error"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DeviantPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HotPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidArgument\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidGovernanceTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUpdateData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUpdateDataSource\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoFreshUpdate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PriceFeedNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PriceFeedNotFoundWithinRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StalePrice\",\"type\":\"error\"}],\"devdoc\":{\"errors\":{\"DeviantPrice()\":[{\"details\":\"Signature: 0x7b0d2bb5\"}],\"HotPrice()\":[{\"details\":\"Signature: 0x0fbbc581\"}],\"InvalidArgument()\":[{\"details\":\"Signature: 0xa9cb9e0d\"}],\"InvalidUpdateData()\":[{\"details\":\"Signature: 0xe69ffece\"}],\"InvalidUpdateDataSource()\":[{\"details\":\"Signature: 0xe60dce71\"}],\"NoFreshUpdate()\":[{\"details\":\"Signature: 0xde2c57fa\"}],\"PriceFeedNotFound()\":[{\"details\":\"Signature: 0x14aebe68\"}],\"PriceFeedNotFoundWithinRange()\":[{\"details\":\"Signature: 0x45805f5d\"}],\"StalePrice()\":[{\"details\":\"Signature: 0x19abf40e\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"DeviantPrice()\":[{\"notice\":\"Requested price deviated too much after previous update.\"}],\"HotPrice()\":[{\"notice\":\"Attempting to update a price before cooldown period expires.\"}],\"InvalidArgument()\":[{\"notice\":\"Function arguments are invalid (e.g., the arguments lengths mismatch)\"}],\"InvalidGovernanceTarget()\":[{\"notice\":\"Either the number of witnesses that solved a price update is not within the settled range in this contract, or an EMA is being asked for a price feed that's not settled for the EMA to be computed. \"}],\"InvalidUpdateData()\":[{\"notice\":\"Update data is invalid (e.g. badly serialized, or bad proof was provided).\"}],\"InvalidUpdateDataSource()\":[{\"notice\":\"Update data is coming from an invalid Wit/Oracle Radon Hash.\"}],\"NoFreshUpdate()\":[{\"notice\":\"There is no fresh update, whereas expected fresh updates.\"}],\"PriceFeedNotFound()\":[{\"notice\":\"Price feed not found or it is not pushed on-chain yet.\"}],\"PriceFeedNotFoundWithinRange()\":[{\"notice\":\"There is no price feed found within the given range or it does not exist.\"}],\"StalePrice()\":[{\"notice\":\"Requested price is stale.\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/legacy/IWitPythErrors.sol\":\"IWitPythErrors\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/legacy/IWitPythErrors.sol\":{\"keccak256\":\"0x7d10dfd625a4914e4017cde140397f9f236f726ea82b4feed1d889f852866c1d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5bbf8dc2bbac36cf0a141f7062b6ed8143cffaee7969a1afc3cf0d1971e8cf18\",\"dweb:/ipfs/QmbLiZwggZwhiTLJurBkAu492xAZZ9MXWiknsuGnLYNXhP\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: MIT\r\n\r\npragma solidity >=0.8.0 <0.9.0;\r\n\r\ninterface IWitPythErrors {\r\n\r\n    /// @notice Requested price deviated too much after previous update.\r\n    /// @dev Signature: 0x7b0d2bb5\r\n    error DeviantPrice();\r\n\r\n    /// @notice Attempting to update a price before cooldown period expires.\r\n    /// @dev Signature: 0x0fbbc581\r\n    error HotPrice();\r\n\r\n    /// @notice Function arguments are invalid (e.g., the arguments lengths mismatch)\r\n    /// @dev Signature: 0xa9cb9e0d\r\n    error InvalidArgument();\r\n    \r\n    /// @notice Either the number of witnesses that solved a price update is not within\r\n    /// the settled range in this contract, or an EMA is being asked for a price feed\r\n    /// that's not settled for the EMA to be computed. \r\n    // Signature: 0x63daeb77\r\n    error InvalidGovernanceTarget();\r\n    \r\n    /// @notice Update data is coming from an invalid Wit/Oracle Radon Hash.\r\n    /// @dev Signature: 0xe60dce71\r\n    error InvalidUpdateDataSource();\r\n\r\n    /// @notice Update data is invalid (e.g. badly serialized, or bad proof was provided).\r\n    /// @dev Signature: 0xe69ffece\r\n    error InvalidUpdateData();\r\n\r\n    /// @notice There is no fresh update, whereas expected fresh updates.\r\n    /// @dev Signature: 0xde2c57fa\r\n    error NoFreshUpdate();\r\n    \r\n    /// @notice Price feed not found or it is not pushed on-chain yet.\r\n    /// @dev Signature: 0x14aebe68\r\n    error PriceFeedNotFound();\r\n\r\n    /// @notice There is no price feed found within the given range or it does not exist.\r\n    /// @dev Signature: 0x45805f5d\r\n    error PriceFeedNotFoundWithinRange();\r\n\r\n    /// @notice Requested price is stale.\r\n    /// @dev Signature: 0x19abf40e\r\n    error StalePrice();\r\n}\r\n",
  "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\legacy\\IWitPythErrors.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/legacy/IWitPythErrors.sol",
    "exportedSymbols": {
      "IWitPythErrors": [
        29697
      ]
    },
    "id": 29698,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 29666,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".0",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:31:105"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IWitPythErrors",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": true,
        "id": 29697,
        "linearizedBaseContracts": [
          29697
        ],
        "name": "IWitPythErrors",
        "nameLocation": "80:14:105",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 29667,
              "nodeType": "StructuredDocumentation",
              "src": "104:104:105",
              "text": "@notice Requested price deviated too much after previous update.\n @dev Signature: 0x7b0d2bb5"
            },
            "errorSelector": "7b0d2bb5",
            "id": 29669,
            "name": "DeviantPrice",
            "nameLocation": "220:12:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29668,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "232:2:105"
            },
            "src": "214:21:105"
          },
          {
            "documentation": {
              "id": 29670,
              "nodeType": "StructuredDocumentation",
              "src": "243:108:105",
              "text": "@notice Attempting to update a price before cooldown period expires.\n @dev Signature: 0x0fbbc581"
            },
            "errorSelector": "0fbbc581",
            "id": 29672,
            "name": "HotPrice",
            "nameLocation": "363:8:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29671,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "371:2:105"
            },
            "src": "357:17:105"
          },
          {
            "documentation": {
              "id": 29673,
              "nodeType": "StructuredDocumentation",
              "src": "382:117:105",
              "text": "@notice Function arguments are invalid (e.g., the arguments lengths mismatch)\n @dev Signature: 0xa9cb9e0d"
            },
            "errorSelector": "a9cb9e0d",
            "id": 29675,
            "name": "InvalidArgument",
            "nameLocation": "511:15:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29674,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "526:2:105"
            },
            "src": "505:24:105"
          },
          {
            "documentation": {
              "id": 29676,
              "nodeType": "StructuredDocumentation",
              "src": "541:227:105",
              "text": "@notice Either the number of witnesses that solved a price update is not within\n the settled range in this contract, or an EMA is being asked for a price feed\n that's not settled for the EMA to be computed. "
            },
            "errorSelector": "63daeb77",
            "id": 29678,
            "name": "InvalidGovernanceTarget",
            "nameLocation": "810:23:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29677,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "833:2:105"
            },
            "src": "804:32:105"
          },
          {
            "documentation": {
              "id": 29679,
              "nodeType": "StructuredDocumentation",
              "src": "848:108:105",
              "text": "@notice Update data is coming from an invalid Wit/Oracle Radon Hash.\n @dev Signature: 0xe60dce71"
            },
            "errorSelector": "e60dce71",
            "id": 29681,
            "name": "InvalidUpdateDataSource",
            "nameLocation": "968:23:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29680,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "991:2:105"
            },
            "src": "962:32:105"
          },
          {
            "documentation": {
              "id": 29682,
              "nodeType": "StructuredDocumentation",
              "src": "1002:122:105",
              "text": "@notice Update data is invalid (e.g. badly serialized, or bad proof was provided).\n @dev Signature: 0xe69ffece"
            },
            "errorSelector": "e69ffece",
            "id": 29684,
            "name": "InvalidUpdateData",
            "nameLocation": "1136:17:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29683,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1153:2:105"
            },
            "src": "1130:26:105"
          },
          {
            "documentation": {
              "id": 29685,
              "nodeType": "StructuredDocumentation",
              "src": "1164:105:105",
              "text": "@notice There is no fresh update, whereas expected fresh updates.\n @dev Signature: 0xde2c57fa"
            },
            "errorSelector": "de2c57fa",
            "id": 29687,
            "name": "NoFreshUpdate",
            "nameLocation": "1281:13:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29686,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1294:2:105"
            },
            "src": "1275:22:105"
          },
          {
            "documentation": {
              "id": 29688,
              "nodeType": "StructuredDocumentation",
              "src": "1309:102:105",
              "text": "@notice Price feed not found or it is not pushed on-chain yet.\n @dev Signature: 0x14aebe68"
            },
            "errorSelector": "14aebe68",
            "id": 29690,
            "name": "PriceFeedNotFound",
            "nameLocation": "1423:17:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29689,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1440:2:105"
            },
            "src": "1417:26:105"
          },
          {
            "documentation": {
              "id": 29691,
              "nodeType": "StructuredDocumentation",
              "src": "1451:121:105",
              "text": "@notice There is no price feed found within the given range or it does not exist.\n @dev Signature: 0x45805f5d"
            },
            "errorSelector": "45805f5d",
            "id": 29693,
            "name": "PriceFeedNotFoundWithinRange",
            "nameLocation": "1584:28:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29692,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1612:2:105"
            },
            "src": "1578:37:105"
          },
          {
            "documentation": {
              "id": 29694,
              "nodeType": "StructuredDocumentation",
              "src": "1623:73:105",
              "text": "@notice Requested price is stale.\n @dev Signature: 0x19abf40e"
            },
            "errorSelector": "19abf40e",
            "id": 29696,
            "name": "StalePrice",
            "nameLocation": "1708:10:105",
            "nodeType": "ErrorDefinition",
            "parameters": {
              "id": 29695,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1718:2:105"
            },
            "src": "1702:19:105"
          }
        ],
        "scope": 29698,
        "src": "70:1654:105",
        "usedErrors": [
          29669,
          29672,
          29675,
          29678,
          29681,
          29684,
          29687,
          29690,
          29693,
          29696
        ],
        "usedEvents": []
      }
    ],
    "src": "35:1691:105"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.30+commit.73712a01.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-10-15T14:34:45.937Z",
  "devdoc": {
    "errors": {
      "DeviantPrice()": [
        {
          "details": "Signature: 0x7b0d2bb5"
        }
      ],
      "HotPrice()": [
        {
          "details": "Signature: 0x0fbbc581"
        }
      ],
      "InvalidArgument()": [
        {
          "details": "Signature: 0xa9cb9e0d"
        }
      ],
      "InvalidUpdateData()": [
        {
          "details": "Signature: 0xe69ffece"
        }
      ],
      "InvalidUpdateDataSource()": [
        {
          "details": "Signature: 0xe60dce71"
        }
      ],
      "NoFreshUpdate()": [
        {
          "details": "Signature: 0xde2c57fa"
        }
      ],
      "PriceFeedNotFound()": [
        {
          "details": "Signature: 0x14aebe68"
        }
      ],
      "PriceFeedNotFoundWithinRange()": [
        {
          "details": "Signature: 0x45805f5d"
        }
      ],
      "StalePrice()": [
        {
          "details": "Signature: 0x19abf40e"
        }
      ]
    },
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "errors": {
      "DeviantPrice()": [
        {
          "notice": "Requested price deviated too much after previous update."
        }
      ],
      "HotPrice()": [
        {
          "notice": "Attempting to update a price before cooldown period expires."
        }
      ],
      "InvalidArgument()": [
        {
          "notice": "Function arguments are invalid (e.g., the arguments lengths mismatch)"
        }
      ],
      "InvalidGovernanceTarget()": [
        {
          "notice": "Either the number of witnesses that solved a price update is not within the settled range in this contract, or an EMA is being asked for a price feed that's not settled for the EMA to be computed. "
        }
      ],
      "InvalidUpdateData()": [
        {
          "notice": "Update data is invalid (e.g. badly serialized, or bad proof was provided)."
        }
      ],
      "InvalidUpdateDataSource()": [
        {
          "notice": "Update data is coming from an invalid Wit/Oracle Radon Hash."
        }
      ],
      "NoFreshUpdate()": [
        {
          "notice": "There is no fresh update, whereas expected fresh updates."
        }
      ],
      "PriceFeedNotFound()": [
        {
          "notice": "Price feed not found or it is not pushed on-chain yet."
        }
      ],
      "PriceFeedNotFoundWithinRange()": [
        {
          "notice": "There is no price feed found within the given range or it does not exist."
        }
      ],
      "StalePrice()": [
        {
          "notice": "Requested price is stale."
        }
      ]
    },
    "kind": "user",
    "methods": {},
    "version": 1
  }
}