{
  "contractName": "IWitOracleConsumer",
  "abi": [
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "Witnet.TransactionHash",
              "name": "witDrTxHash",
              "type": "bytes32"
            },
            {
              "internalType": "Witnet.RadonHash",
              "name": "queryRadHash",
              "type": "bytes32"
            },
            {
              "components": [
                {
                  "internalType": "uint16",
                  "name": "witResultMaxSize",
                  "type": "uint16"
                },
                {
                  "internalType": "uint16",
                  "name": "witCommitteeSize",
                  "type": "uint16"
                },
                {
                  "internalType": "uint64",
                  "name": "witUnitaryReward",
                  "type": "uint64"
                }
              ],
              "internalType": "struct Witnet.QuerySLA",
              "name": "queryParams",
              "type": "tuple"
            },
            {
              "internalType": "Witnet.Timestamp",
              "name": "resultTimestamp",
              "type": "uint64"
            },
            {
              "internalType": "bytes",
              "name": "resultCborBytes",
              "type": "bytes"
            }
          ],
          "internalType": "struct Witnet.DataPushReport",
          "name": "report",
          "type": "tuple"
        },
        {
          "internalType": "bytes",
          "name": "proof",
          "type": "bytes"
        }
      ],
      "name": "pushDataReport",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"Witnet.TransactionHash\",\"name\":\"witDrTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"Witnet.RadonHash\",\"name\":\"queryRadHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"witResultMaxSize\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"witCommitteeSize\",\"type\":\"uint16\"},{\"internalType\":\"uint64\",\"name\":\"witUnitaryReward\",\"type\":\"uint64\"}],\"internalType\":\"struct Witnet.QuerySLA\",\"name\":\"queryParams\",\"type\":\"tuple\"},{\"internalType\":\"Witnet.Timestamp\",\"name\":\"resultTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"resultCborBytes\",\"type\":\"bytes\"}],\"internalType\":\"struct Witnet.DataPushReport\",\"name\":\"report\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"name\":\"pushDataReport\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"pushDataReport((bytes32,bytes32,(uint16,uint16,uint64),uint64,bytes),bytes)\":{\"details\":\"The referred `witOracle()` contract emits a `IWitOracle.DataReport` for every `Witnet.DataPushReport` proven to be authentic. \"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"pushDataReport((bytes32,bytes32,(uint16,uint16,uint64),uint64,bytes),bytes)\":{\"notice\":\"Accepts a data report from the Wit/oracle blockchain that ought to be verified by the WitOracle contract pointed out by `witOracle()`. \"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitOracleConsumer.sol\":\"IWitOracleConsumer\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitOracle.sol\":{\"keccak256\":\"0x26cbe2074c0b3f545a46d95fad5e2280b67edcd958e4ae0b88f3a018aa11b805\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5324bac61f65e3edb01c88b9b75ca17affd593be88da5753a93b3f5304d3f479\",\"dweb:/ipfs/QmcVmNV6smbFiPaxvuN8ShkqbDZsT1wfjnF7f3qs6ke7QG\"]},\"project:/contracts/interfaces/IWitOracleConsumer.sol\":{\"keccak256\":\"0x0091b5953897f5bec810d4fa22e43a9dbd5e01600994f6465e3fe14edab02a5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://61862f8fd20ba0f619c4d6851affd39885c4bbbf1a7bd99e01ac472dae487a1b\",\"dweb:/ipfs/QmXuw1XaQmbSpcrZUhAzTnmnj3Vxna9D1Fg9Zwq5EnZRZK\"]},\"project:/contracts/interfaces/IWitOracleRadonRegistry.sol\":{\"keccak256\":\"0x437bbb89129311bd1cc8f6becd333df46109ec53b24d3159be942b225614071f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ef9bcdf4a73cb126885478c994821b7fe2b87d9221b767b4c9342b89b0d6550a\",\"dweb:/ipfs/QmXzZXPMxjSiFpcEnhg6CjLFNxGCpDZt22xpUh7VHxNTGd\"]},\"project:/contracts/libs/Bech32.sol\":{\"keccak256\":\"0x14618323a0efe7586c20906a2e9cee7ad63baa976ff231c57f7f2d7d3707fb8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a19f05fe84047a7a6d3d6fc39972b432e6e536aa70472386a9d7a6d9aab64a64\",\"dweb:/ipfs/QmcHwUY66yjiotRH4Q3kbRvSzcHyLQ1yHL3KbtQKiMhtZE\"]},\"project:/contracts/libs/Secp256k1.sol\":{\"keccak256\":\"0xbe686002da5004ff39dd70709f3820eba2afe9323ae9cb894009c161e4b1a666\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18fab91775216de0707cea9ad285b10be09127461a13432fea358bf9cb2a0c2e\",\"dweb:/ipfs/QmeRUGsgstnM4hxM9hpkBf3L6cE5btirEaowcMxmuw3utj\"]},\"project:/contracts/libs/Witnet.sol\":{\"keccak256\":\"0x1d446c3e534e40e676d1763bfb2897fadfac8afed904ab757843d7d6770b0a6c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://338fb1073f17d64e8d31bfe492d9475ce906788ee08e6489ce30413f91dc1328\",\"dweb:/ipfs/QmPe5QX2AGTnQFjse1Xttq4ZYWwYAiXoySb5VUui3PqPhk\"]},\"project:/contracts/libs/WitnetBuffer.sol\":{\"keccak256\":\"0x8e07aebe2954ab3e6f2d8eceedb12db7cf915c1f3e8630f4fa9999cecb1c78ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed6c54cc901183d61546e8fd15bd5ea8ef238ebc915642946071d435dd7481ea\",\"dweb:/ipfs/Qmcaqta7YjUSBbBUGqoh44bsCS6UqqoyHjBuz4qnKBShXM\"]},\"project:/contracts/libs/WitnetCBOR.sol\":{\"keccak256\":\"0xd99308373575cc10fb7f2ceb0f6a8625f3911275c1fa27811fae498d98d03d97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4909a999d7b660a2dc54ca957b6eccfa523e2765fc4d6a2574dee7d5cd67b43\",\"dweb:/ipfs/QmWGQT4KDcfSFe1hcHVoWx6E4PhYMaod5iLpJCWBEeShzh\"]}},\"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\nimport \"./IWitOracle.sol\";\r\n\r\ninterface IWitOracleConsumer {\r\n\r\n    /// @notice Accepts a data report from the Wit/oracle blockchain that ought to be\r\n    /// verified by the WitOracle contract pointed out by `witOracle()`. \r\n    /// @dev The referred `witOracle()` contract emits a `IWitOracle.DataReport` for\r\n    /// every `Witnet.DataPushReport` proven to be authentic. \r\n    function pushDataReport(Witnet.DataPushReport calldata report, bytes calldata proof) external;\r\n}\r\n",
  "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\IWitOracleConsumer.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/IWitOracleConsumer.sol",
    "exportedSymbols": {
      "IWitOracle": [
        26581
      ],
      "IWitOracleConsumer": [
        26606
      ],
      "IWitOracleRadonRegistry": [
        27394
      ],
      "Witnet": [
        40741
      ]
    },
    "id": 26607,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 26595,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".0",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:31:66"
      },
      {
        "absolutePath": "project:/contracts/interfaces/IWitOracle.sol",
        "file": "./IWitOracle.sol",
        "id": 26596,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 26607,
        "sourceUnit": 26582,
        "src": "70:26:66",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IWitOracleConsumer",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 26606,
        "linearizedBaseContracts": [
          26606
        ],
        "name": "IWitOracleConsumer",
        "nameLocation": "110:18:66",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 26597,
              "nodeType": "StructuredDocumentation",
              "src": "138:306:66",
              "text": "@notice Accepts a data report from the Wit/oracle blockchain that ought to be\n verified by the WitOracle contract pointed out by `witOracle()`. \n @dev The referred `witOracle()` contract emits a `IWitOracle.DataReport` for\n every `Witnet.DataPushReport` proven to be authentic. "
            },
            "functionSelector": "6d0d6a7e",
            "id": 26605,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "pushDataReport",
            "nameLocation": "459:14:66",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 26603,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26600,
                  "mutability": "mutable",
                  "name": "report",
                  "nameLocation": "505:6:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 26605,
                  "src": "474:37:66",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_DataPushReport_$37274_calldata_ptr",
                    "typeString": "struct Witnet.DataPushReport"
                  },
                  "typeName": {
                    "id": 26599,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 26598,
                      "name": "Witnet.DataPushReport",
                      "nameLocations": [
                        "474:6:66",
                        "481:14:66"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 37274,
                      "src": "474:21:66"
                    },
                    "referencedDeclaration": 37274,
                    "src": "474:21:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_DataPushReport_$37274_storage_ptr",
                      "typeString": "struct Witnet.DataPushReport"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26602,
                  "mutability": "mutable",
                  "name": "proof",
                  "nameLocation": "528:5:66",
                  "nodeType": "VariableDeclaration",
                  "scope": 26605,
                  "src": "513:20:66",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 26601,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "513:5:66",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "473:61:66"
            },
            "returnParameters": {
              "id": 26604,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "543:0:66"
            },
            "scope": 26606,
            "src": "450:94:66",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 26607,
        "src": "100:447:66",
        "usedErrors": [],
        "usedEvents": []
      }
    ],
    "src": "35:514:66"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.30+commit.73712a01.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-10-15T14:34:45.893Z",
  "devdoc": {
    "kind": "dev",
    "methods": {
      "pushDataReport((bytes32,bytes32,(uint16,uint16,uint64),uint64,bytes),bytes)": {
        "details": "The referred `witOracle()` contract emits a `IWitOracle.DataReport` for every `Witnet.DataPushReport` proven to be authentic. "
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {
      "pushDataReport((bytes32,bytes32,(uint16,uint16,uint64),uint64,bytes),bytes)": {
        "notice": "Accepts a data report from the Wit/oracle blockchain that ought to be verified by the WitOracle contract pointed out by `witOracle()`. "
      }
    },
    "version": 1
  }
}