witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
1,154 lines • 47 kB
JSON
{
"contractName": "IWitOracleQueriableTrustlessReporter",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"indexed": false,
"internalType": "string",
"name": "reason",
"type": "string"
}
],
"name": "BatchQueryError",
"type": "event"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
}
],
"name": "claimQueryReward",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId[]",
"name": "queryIds",
"type": "uint64[]"
}
],
"name": "claimQueryRewardBatch",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
}
],
"name": "disputeQueryResponse",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport",
"name": "report",
"type": "tuple"
}
],
"name": "reportQueryResponse",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport[]",
"name": "reports",
"type": "tuple[]"
}
],
"name": "reportQueryResponseBatch",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "uint32",
"name": "index",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "prevIndex",
"type": "uint32"
},
{
"internalType": "bytes24",
"name": "prevRoot",
"type": "bytes24"
},
{
"internalType": "bytes16",
"name": "ddrTalliesMerkleRoot",
"type": "bytes16"
},
{
"internalType": "bytes16",
"name": "droTalliesMerkleRoot",
"type": "bytes16"
},
{
"internalType": "uint256[4]",
"name": "nextCommitteeAggPubkey",
"type": "uint256[4]"
}
],
"internalType": "struct Witnet.Beacon",
"name": "beacon",
"type": "tuple"
},
{
"internalType": "uint256[2]",
"name": "committeeAggSignature",
"type": "uint256[2]"
},
{
"internalType": "uint256[4][]",
"name": "committeeMissingPubkeys",
"type": "uint256[4][]"
}
],
"internalType": "struct Witnet.FastForward[]",
"name": "witOracleRollup",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport",
"name": "queryResponseReport",
"type": "tuple"
},
{
"internalType": "bytes32[]",
"name": "witOracleDdrTalliesProof",
"type": "bytes32[]"
}
],
"name": "rollupQueryResponseProof",
"outputs": [
{
"internalType": "uint256",
"name": "evmTotalReward",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"BatchQueryError\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"}],\"name\":\"claimQueryReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Witnet.QueryId[]\",\"name\":\"queryIds\",\"type\":\"uint64[]\"}],\"name\":\"claimQueryRewardBatch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"}],\"name\":\"disputeQueryResponse\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"internalType\":\"Witnet.QueryUUID\",\"name\":\"queryHash\",\"type\":\"bytes15\"},{\"internalType\":\"bytes\",\"name\":\"witDrRelayerSignature\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.BlockNumber\",\"name\":\"witDrResultEpoch\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"witDrResultCborBytes\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.TransactionHash\",\"name\":\"witDrTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"struct Witnet.DataPullReport\",\"name\":\"report\",\"type\":\"tuple\"}],\"name\":\"reportQueryResponse\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"internalType\":\"Witnet.QueryUUID\",\"name\":\"queryHash\",\"type\":\"bytes15\"},{\"internalType\":\"bytes\",\"name\":\"witDrRelayerSignature\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.BlockNumber\",\"name\":\"witDrResultEpoch\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"witDrResultCborBytes\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.TransactionHash\",\"name\":\"witDrTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"struct Witnet.DataPullReport[]\",\"name\":\"reports\",\"type\":\"tuple[]\"}],\"name\":\"reportQueryResponseBatch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"prevIndex\",\"type\":\"uint32\"},{\"internalType\":\"bytes24\",\"name\":\"prevRoot\",\"type\":\"bytes24\"},{\"internalType\":\"bytes16\",\"name\":\"ddrTalliesMerkleRoot\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"droTalliesMerkleRoot\",\"type\":\"bytes16\"},{\"internalType\":\"uint256[4]\",\"name\":\"nextCommitteeAggPubkey\",\"type\":\"uint256[4]\"}],\"internalType\":\"struct Witnet.Beacon\",\"name\":\"beacon\",\"type\":\"tuple\"},{\"internalType\":\"uint256[2]\",\"name\":\"committeeAggSignature\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[4][]\",\"name\":\"committeeMissingPubkeys\",\"type\":\"uint256[4][]\"}],\"internalType\":\"struct Witnet.FastForward[]\",\"name\":\"witOracleRollup\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"internalType\":\"Witnet.QueryUUID\",\"name\":\"queryHash\",\"type\":\"bytes15\"},{\"internalType\":\"bytes\",\"name\":\"witDrRelayerSignature\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.BlockNumber\",\"name\":\"witDrResultEpoch\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"witDrResultCborBytes\",\"type\":\"bytes\"},{\"internalType\":\"Witnet.TransactionHash\",\"name\":\"witDrTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"struct Witnet.DataPullReport\",\"name\":\"queryResponseReport\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"witOracleDdrTalliesProof\",\"type\":\"bytes32[]\"}],\"name\":\"rollupQueryResponseProof\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"evmTotalReward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"The Witnet Foundation.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"The Witnet Request Board Reporter trustless interface.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitOracleQueriableTrustlessReporter.sol\":\"IWitOracleQueriableTrustlessReporter\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitOracleQueriableTrustlessReporter.sol\":{\"keccak256\":\"0x346270dc2851df1cc68e92154737e207f488ac4f7bd967093b433a88c835448b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2070a85b434b06c00f5a89b6676e6c9b826f75f7f4194c1541ddd33ae57864a1\",\"dweb:/ipfs/QmNqh53Cm2H2S4CUoJ4RGLE1NLs3X3weHJSXzm9RMpjLxu\"]},\"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 \"../libs/Witnet.sol\";\r\n\r\n/// @title The Witnet Request Board Reporter trustless interface.\r\n/// @author The Witnet Foundation.\r\ninterface IWitOracleQueriableTrustlessReporter {\r\n \r\n event BatchQueryError(Witnet.QueryId queryId, string reason); \r\n \r\n function claimQueryReward(Witnet.QueryId queryId) external returns (uint256);\r\n function claimQueryRewardBatch(Witnet.QueryId[] calldata queryIds) external returns (uint256);\r\n \r\n function disputeQueryResponse (Witnet.QueryId queryId) external returns (uint256);\r\n\r\n function reportQueryResponse(Witnet.DataPullReport calldata report) external returns (uint256);\r\n function reportQueryResponseBatch(Witnet.DataPullReport[] calldata reports) external returns (uint256);\r\n \r\n function rollupQueryResponseProof(\r\n Witnet.FastForward[] calldata witOracleRollup, \r\n Witnet.DataPullReport calldata queryResponseReport, \r\n bytes32[] calldata witOracleDdrTalliesProof\r\n ) external returns (\r\n uint256 evmTotalReward\r\n ); \r\n}\r\n",
"sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\IWitOracleQueriableTrustlessReporter.sol",
"ast": {
"absolutePath": "project:/contracts/interfaces/IWitOracleQueriableTrustlessReporter.sol",
"exportedSymbols": {
"Bech32": [
31372
],
"IWitOracleQueriableTrustlessReporter": [
27125
],
"Secp256k1": [
32535
],
"Witnet": [
40741
],
"WitnetBuffer": [
42631
],
"WitnetCBOR": [
44174
]
},
"id": 27126,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 27058,
"literals": [
"solidity",
">=",
"0.8",
".0",
"<",
"0.9",
".0"
],
"nodeType": "PragmaDirective",
"src": "35:31:72"
},
{
"absolutePath": "project:/contracts/libs/Witnet.sol",
"file": "../libs/Witnet.sol",
"id": 27059,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 27126,
"sourceUnit": 40742,
"src": "70:28:72",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IWitOracleQueriableTrustlessReporter",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 27060,
"nodeType": "StructuredDocumentation",
"src": "102:103:72",
"text": "@title The Witnet Request Board Reporter trustless interface.\n @author The Witnet Foundation."
},
"fullyImplemented": false,
"id": 27125,
"linearizedBaseContracts": [
27125
],
"name": "IWitOracleQueriableTrustlessReporter",
"nameLocation": "215:36:72",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"eventSelector": "7ae9f29e9f698fdd92cfb045617624fdc0c640b517e34bc5670b6ada3b54b48b",
"id": 27067,
"name": "BatchQueryError",
"nameLocation": "271:15:72",
"nodeType": "EventDefinition",
"parameters": {
"id": 27066,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27063,
"indexed": false,
"mutability": "mutable",
"name": "queryId",
"nameLocation": "302:7:72",
"nodeType": "VariableDeclaration",
"scope": 27067,
"src": "287:22:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
},
"typeName": {
"id": 27062,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27061,
"name": "Witnet.QueryId",
"nameLocations": [
"287:6:72",
"294:7:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37151,
"src": "287:14:72"
},
"referencedDeclaration": 37151,
"src": "287:14:72",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27065,
"indexed": false,
"mutability": "mutable",
"name": "reason",
"nameLocation": "318:6:72",
"nodeType": "VariableDeclaration",
"scope": 27067,
"src": "311:13:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 27064,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "311:6:72",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "286:39:72"
},
"src": "265:61:72"
},
{
"functionSelector": "f91ffdb2",
"id": 27075,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "claimQueryReward",
"nameLocation": "351:16:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27071,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27070,
"mutability": "mutable",
"name": "queryId",
"nameLocation": "383:7:72",
"nodeType": "VariableDeclaration",
"scope": 27075,
"src": "368:22:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
},
"typeName": {
"id": 27069,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27068,
"name": "Witnet.QueryId",
"nameLocations": [
"368:6:72",
"375:7:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37151,
"src": "368:14:72"
},
"referencedDeclaration": 37151,
"src": "368:14:72",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
}
},
"visibility": "internal"
}
],
"src": "367:24:72"
},
"returnParameters": {
"id": 27074,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27073,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 27075,
"src": "410:7:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27072,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "410:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "409:9:72"
},
"scope": 27125,
"src": "342:77:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "53a5d58c",
"id": 27084,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "claimQueryRewardBatch",
"nameLocation": "434:21:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27080,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27079,
"mutability": "mutable",
"name": "queryIds",
"nameLocation": "482:8:72",
"nodeType": "VariableDeclaration",
"scope": 27084,
"src": "456:34:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_userDefinedValueType$_QueryId_$37151_$dyn_calldata_ptr",
"typeString": "Witnet.QueryId[]"
},
"typeName": {
"baseType": {
"id": 27077,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27076,
"name": "Witnet.QueryId",
"nameLocations": [
"456:6:72",
"463:7:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37151,
"src": "456:14:72"
},
"referencedDeclaration": 37151,
"src": "456:14:72",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
}
},
"id": 27078,
"nodeType": "ArrayTypeName",
"src": "456:16:72",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_userDefinedValueType$_QueryId_$37151_$dyn_storage_ptr",
"typeString": "Witnet.QueryId[]"
}
},
"visibility": "internal"
}
],
"src": "455:36:72"
},
"returnParameters": {
"id": 27083,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27082,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 27084,
"src": "510:7:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27081,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "510:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "509:9:72"
},
"scope": 27125,
"src": "425:94:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "50127a96",
"id": 27092,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "disputeQueryResponse",
"nameLocation": "540:20:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27088,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27087,
"mutability": "mutable",
"name": "queryId",
"nameLocation": "577:7:72",
"nodeType": "VariableDeclaration",
"scope": 27092,
"src": "562:22:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
},
"typeName": {
"id": 27086,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27085,
"name": "Witnet.QueryId",
"nameLocations": [
"562:6:72",
"569:7:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37151,
"src": "562:14:72"
},
"referencedDeclaration": 37151,
"src": "562:14:72",
"typeDescriptions": {
"typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
"typeString": "Witnet.QueryId"
}
},
"visibility": "internal"
}
],
"src": "561:24:72"
},
"returnParameters": {
"id": 27091,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27090,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 27092,
"src": "604:7:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27089,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "604:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "603:9:72"
},
"scope": 27125,
"src": "531:82:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "90602a90",
"id": 27100,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "reportQueryResponse",
"nameLocation": "630:19:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27096,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27095,
"mutability": "mutable",
"name": "report",
"nameLocation": "681:6:72",
"nodeType": "VariableDeclaration",
"scope": 27100,
"src": "650:37:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_DataPullReport_$37259_calldata_ptr",
"typeString": "struct Witnet.DataPullReport"
},
"typeName": {
"id": 27094,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27093,
"name": "Witnet.DataPullReport",
"nameLocations": [
"650:6:72",
"657:14:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37259,
"src": "650:21:72"
},
"referencedDeclaration": 37259,
"src": "650:21:72",
"typeDescriptions": {
"typeIdentifier": "t_struct$_DataPullReport_$37259_storage_ptr",
"typeString": "struct Witnet.DataPullReport"
}
},
"visibility": "internal"
}
],
"src": "649:39:72"
},
"returnParameters": {
"id": 27099,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27098,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 27100,
"src": "707:7:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27097,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "707:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "706:9:72"
},
"scope": 27125,
"src": "621:95:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "1f08f481",
"id": 27109,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "reportQueryResponseBatch",
"nameLocation": "731:24:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27105,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27104,
"mutability": "mutable",
"name": "reports",
"nameLocation": "789:7:72",
"nodeType": "VariableDeclaration",
"scope": 27109,
"src": "756:40:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_DataPullReport_$37259_calldata_ptr_$dyn_calldata_ptr",
"typeString": "struct Witnet.DataPullReport[]"
},
"typeName": {
"baseType": {
"id": 27102,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27101,
"name": "Witnet.DataPullReport",
"nameLocations": [
"756:6:72",
"763:14:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37259,
"src": "756:21:72"
},
"referencedDeclaration": 37259,
"src": "756:21:72",
"typeDescriptions": {
"typeIdentifier": "t_struct$_DataPullReport_$37259_storage_ptr",
"typeString": "struct Witnet.DataPullReport"
}
},
"id": 27103,
"nodeType": "ArrayTypeName",
"src": "756:23:72",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_DataPullReport_$37259_storage_$dyn_storage_ptr",
"typeString": "struct Witnet.DataPullReport[]"
}
},
"visibility": "internal"
}
],
"src": "755:42:72"
},
"returnParameters": {
"id": 27108,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27107,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 27109,
"src": "816:7:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27106,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "816:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "815:9:72"
},
"scope": 27125,
"src": "722:103:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "fc140d77",
"id": 27124,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "rollupQueryResponseProof",
"nameLocation": "846:24:72",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 27120,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27113,
"mutability": "mutable",
"name": "witOracleRollup",
"nameLocation": "915:15:72",
"nodeType": "VariableDeclaration",
"scope": 27124,
"src": "885:45:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_FastForward_$37306_calldata_ptr_$dyn_calldata_ptr",
"typeString": "struct Witnet.FastForward[]"
},
"typeName": {
"baseType": {
"id": 27111,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27110,
"name": "Witnet.FastForward",
"nameLocations": [
"885:6:72",
"892:11:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37306,
"src": "885:18:72"
},
"referencedDeclaration": 37306,
"src": "885:18:72",
"typeDescriptions": {
"typeIdentifier": "t_struct$_FastForward_$37306_storage_ptr",
"typeString": "struct Witnet.FastForward"
}
},
"id": 27112,
"nodeType": "ArrayTypeName",
"src": "885:20:72",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_FastForward_$37306_storage_$dyn_storage_ptr",
"typeString": "struct Witnet.FastForward[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27116,
"mutability": "mutable",
"name": "queryResponseReport",
"nameLocation": "977:19:72",
"nodeType": "VariableDeclaration",
"scope": 27124,
"src": "946:50:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_DataPullReport_$37259_calldata_ptr",
"typeString": "struct Witnet.DataPullReport"
},
"typeName": {
"id": 27115,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 27114,
"name": "Witnet.DataPullReport",
"nameLocations": [
"946:6:72",
"953:14:72"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 37259,
"src": "946:21:72"
},
"referencedDeclaration": 37259,
"src": "946:21:72",
"typeDescriptions": {
"typeIdentifier": "t_struct$_DataPullReport_$37259_storage_ptr",
"typeString": "struct Witnet.DataPullReport"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27119,
"mutability": "mutable",
"name": "witOracleDdrTalliesProof",
"nameLocation": "1031:24:72",
"nodeType": "VariableDeclaration",
"scope": 27124,
"src": "1012:43:72",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
"typeString": "bytes32[]"
},
"typeName": {
"baseType": {
"id": 27117,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1012:7:72",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"id": 27118,
"nodeType": "ArrayTypeName",
"src": "1012:9:72",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
"typeString": "bytes32[]"
}
},
"visibility": "internal"
}
],
"src": "870:196:72"
},
"returnParameters": {
"id": 27123,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27122,
"mutability": "mutable",
"name": "evmTotalReward",
"nameLocation": "1107:14:72",
"nodeType": "VariableDeclaration",
"scope": 27124,
"src": "1099:22:72",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 27121,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1099:7:72",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1084:48:72"
},
"scope": 27125,
"src": "837:296:72",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 27126,
"src": "205:935:72",
"usedErrors": [],
"usedEvents": [
27067
]
}
],
"src": "35:1107:72"
},
"compiler": {
"name": "solc",
"version": "0.8.30+commit.73712a01.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.4.16",
"updatedAt": "2025-10-15T14:34:45.901Z",
"devdoc": {
"author": "The Witnet Foundation.",
"kind": "dev",
"methods": {},
"title": "The Witnet Request Board Reporter trustless interface.",
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}