UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

1,206 lines 50.9 kB
{ "contractName": "IWitOracleQueriableEvents", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "evmRequester", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "evmGasPrice", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "evmReward", "type": "uint256" }, { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "Witnet.RadonHash", "name": "radonHash", "type": "bytes32" }, { "components": [ { "internalType": "uint16", "name": "witResultMaxSize", "type": "uint16" }, { "internalType": "uint16", "name": "witCommitteeSize", "type": "uint16" }, { "internalType": "uint64", "name": "witUnitaryReward", "type": "uint64" } ], "indexed": false, "internalType": "struct Witnet.QuerySLA", "name": "radonParams", "type": "tuple" } ], "name": "WitOracleQuery", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "uint256", "name": "evmGasPrice", "type": "uint256" } ], "name": "WitOracleQueryReport", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "evmConsumer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "evmGasPrice", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "evmCallbackGas", "type": "uint256" } ], "name": "WitOracleQueryReportDelivery", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "evmDisputer", "type": "address" } ], "name": "WitOracleQueryReportDispute", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "evmSender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "evmGasPrice", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "evmReward", "type": "uint256" } ], "name": "WitOracleQueryUpgrade", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.QueryId", "name": "queryId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "evmConsumer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "evmGasPrice", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "evmCallbackActualGas", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "evmCallbackRevertReason", "type": "string" }, { "indexed": false, "internalType": "bytes", "name": "resultCborBytes", "type": "bytes" } ], "name": "WitOracleResportDeliveryFailed", "type": "event" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"evmRequester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"Witnet.RadonHash\",\"name\":\"radonHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"witResultMaxSize\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"witCommitteeSize\",\"type\":\"uint16\"},{\"internalType\":\"uint64\",\"name\":\"witUnitaryReward\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"struct Witnet.QuerySLA\",\"name\":\"radonParams\",\"type\":\"tuple\"}],\"name\":\"WitOracleQuery\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"}],\"name\":\"WitOracleQueryReport\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"evmConsumer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmCallbackGas\",\"type\":\"uint256\"}],\"name\":\"WitOracleQueryReportDelivery\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"evmDisputer\",\"type\":\"address\"}],\"name\":\"WitOracleQueryReportDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"evmSender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmReward\",\"type\":\"uint256\"}],\"name\":\"WitOracleQueryUpgrade\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"queryId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"evmConsumer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmCallbackActualGas\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"evmCallbackRevertReason\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"resultCborBytes\",\"type\":\"bytes\"}],\"name\":\"WitOracleResportDeliveryFailed\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"WitOracleQuery(address,uint256,uint256,uint64,bytes32,(uint16,uint16,uint64))\":{\"notice\":\"Emitted every time a new query containing some verified data request is posted to the WitOracle.\"},\"WitOracleQueryReport(uint64,uint256)\":{\"notice\":\"Emitted when a query with no callback gets reported into the WRB.\"},\"WitOracleQueryReportDelivery(uint64,address,uint256,uint256)\":{\"notice\":\"Emitted when a query with a callback gets successfully reported into the WRB.\"},\"WitOracleQueryUpgrade(uint64,address,uint256,uint256)\":{\"notice\":\"Emitted when the reward of some not-yet reported query gets upgraded.\"},\"WitOracleResportDeliveryFailed(uint64,address,uint256,uint256,string,bytes)\":{\"notice\":\"Emitted when a query with a callback cannot get reported into the WRB.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitOracleQueriableEvents.sol\":\"IWitOracleQueriableEvents\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitOracleQueriableEvents.sol\":{\"keccak256\":\"0x47c283e931006d35bd2599524f86724e45eae6fad2fdd9cdecd1c85a90ff3f8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3ad0520f99ec9298536ae9434f58caeb470c10dd3eaab1e4c7ed4cae9a97e2a2\",\"dweb:/ipfs/QmSuYCsSPweZfQc5Fbf9jYDdx4u7gwYCUdjhpcrrxmWZy6\"]},\"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\ninterface IWitOracleQueriableEvents {\r\n\r\n /// Emitted every time a new query containing some verified data request is posted to the WitOracle.\r\n event WitOracleQuery(\r\n address indexed evmRequester,\r\n uint256 evmGasPrice,\r\n uint256 evmReward,\r\n Witnet.QueryId queryId, \r\n Witnet.RadonHash radonHash,\r\n Witnet.QuerySLA radonParams\r\n );\r\n\r\n /// Emitted when the reward of some not-yet reported query gets upgraded.\r\n event WitOracleQueryUpgrade(\r\n Witnet.QueryId queryId,\r\n address evmSender,\r\n uint256 evmGasPrice,\r\n uint256 evmReward\r\n );\r\n\r\n\r\n /// Emitted when a query with no callback gets reported into the WRB.\r\n event WitOracleQueryReport(\r\n Witnet.QueryId queryId, \r\n uint256 evmGasPrice\r\n );\r\n\r\n event WitOracleQueryReportDispute(\r\n Witnet.QueryId queryId,\r\n address evmDisputer\r\n );\r\n\r\n /// Emitted when a query with a callback gets successfully reported into the WRB.\r\n event WitOracleQueryReportDelivery(\r\n Witnet.QueryId queryId, \r\n address evmConsumer,\r\n uint256 evmGasPrice, \r\n uint256 evmCallbackGas\r\n );\r\n\r\n /// Emitted when a query with a callback cannot get reported into the WRB.\r\n event WitOracleResportDeliveryFailed(\r\n Witnet.QueryId queryId, \r\n address evmConsumer,\r\n uint256 evmGasPrice, \r\n uint256 evmCallbackActualGas, \r\n string evmCallbackRevertReason,\r\n bytes resultCborBytes\r\n );\r\n}\r\n", "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\IWitOracleQueriableEvents.sol", "ast": { "absolutePath": "project:/contracts/interfaces/IWitOracleQueriableEvents.sol", "exportedSymbols": { "Bech32": [ 31372 ], "IWitOracleQueriableEvents": [ 26892 ], "Secp256k1": [ 32535 ], "Witnet": [ 40741 ], "WitnetBuffer": [ 42631 ], "WitnetCBOR": [ 44174 ] }, "id": 26893, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 26817, "literals": [ "solidity", ">=", "0.8", ".0", "<", "0.9", ".0" ], "nodeType": "PragmaDirective", "src": "35:31:69" }, { "absolutePath": "project:/contracts/libs/Witnet.sol", "file": "../libs/Witnet.sol", "id": 26818, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 26893, "sourceUnit": 40742, "src": "70:28:69", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "canonicalName": "IWitOracleQueriableEvents", "contractDependencies": [], "contractKind": "interface", "fullyImplemented": true, "id": 26892, "linearizedBaseContracts": [ 26892 ], "name": "IWitOracleQueriableEvents", "nameLocation": "112:25:69", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { "id": 26819, "nodeType": "StructuredDocumentation", "src": "147:100:69", "text": "Emitted every time a new query containing some verified data request is posted to the WitOracle." }, "eventSelector": "fbe74eb38ea9de3d74d481a4f701ae121d794895c5797db8260d06d317901d26", "id": 26836, "name": "WitOracleQuery", "nameLocation": "259:14:69", "nodeType": "EventDefinition", "parameters": { "id": 26835, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26821, "indexed": true, "mutability": "mutable", "name": "evmRequester", "nameLocation": "300:12:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "284:28:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 26820, "name": "address", "nodeType": "ElementaryTypeName", "src": "284:7:69", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 26823, "indexed": false, "mutability": "mutable", "name": "evmGasPrice", "nameLocation": "331:11:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "323:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26822, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "323:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26825, "indexed": false, "mutability": "mutable", "name": "evmReward", "nameLocation": "361:9:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "353:17:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26824, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "353:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26828, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "396:7:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "381:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26827, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26826, "name": "Witnet.QueryId", "nameLocations": [ "381:6:69", "388:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "381:14:69" }, "referencedDeclaration": 37151, "src": "381:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26831, "indexed": false, "mutability": "mutable", "name": "radonHash", "nameLocation": "432:9:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "415:26:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_RadonHash_$37153", "typeString": "Witnet.RadonHash" }, "typeName": { "id": 26830, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26829, "name": "Witnet.RadonHash", "nameLocations": [ "415:6:69", "422:9:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37153, "src": "415:16:69" }, "referencedDeclaration": 37153, "src": "415:16:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_RadonHash_$37153", "typeString": "Witnet.RadonHash" } }, "visibility": "internal" }, { "constant": false, "id": 26834, "indexed": false, "mutability": "mutable", "name": "radonParams", "nameLocation": "468:11:69", "nodeType": "VariableDeclaration", "scope": 26836, "src": "452:27:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr", "typeString": "struct Witnet.QuerySLA" }, "typeName": { "id": 26833, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26832, "name": "Witnet.QuerySLA", "nameLocations": [ "452:6:69", "459:8:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37373, "src": "452:15:69" }, "referencedDeclaration": 37373, "src": "452:15:69", "typeDescriptions": { "typeIdentifier": "t_struct$_QuerySLA_$37373_storage_ptr", "typeString": "struct Witnet.QuerySLA" } }, "visibility": "internal" } ], "src": "273:213:69" }, "src": "253:234:69" }, { "anonymous": false, "documentation": { "id": 26837, "nodeType": "StructuredDocumentation", "src": "495:73:69", "text": "Emitted when the reward of some not-yet reported query gets upgraded." }, "eventSelector": "66f95ec285ca572fa1cac40e7019e14ab45a8fc619c6405222e8af55534c2f67", "id": 26848, "name": "WitOracleQueryUpgrade", "nameLocation": "580:21:69", "nodeType": "EventDefinition", "parameters": { "id": 26847, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26840, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "627:7:69", "nodeType": "VariableDeclaration", "scope": 26848, "src": "612:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26839, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26838, "name": "Witnet.QueryId", "nameLocations": [ "612:6:69", "619:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "612:14:69" }, "referencedDeclaration": 37151, "src": "612:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26842, "indexed": false, "mutability": "mutable", "name": "evmSender", "nameLocation": "653:9:69", "nodeType": "VariableDeclaration", "scope": 26848, "src": "645:17:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 26841, "name": "address", "nodeType": "ElementaryTypeName", "src": "645:7:69", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 26844, "indexed": false, "mutability": "mutable", "name": "evmGasPrice", "nameLocation": "681:11:69", "nodeType": "VariableDeclaration", "scope": 26848, "src": "673:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26843, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "673:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26846, "indexed": false, "mutability": "mutable", "name": "evmReward", "nameLocation": "711:9:69", "nodeType": "VariableDeclaration", "scope": 26848, "src": "703:17:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26845, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "703:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "601:126:69" }, "src": "574:154:69" }, { "anonymous": false, "documentation": { "id": 26849, "nodeType": "StructuredDocumentation", "src": "738:69:69", "text": "Emitted when a query with no callback gets reported into the WRB." }, "eventSelector": "dad34843fe0bb0a9944d07fad791384dd3727bfeb7f286a0f424120018e1057c", "id": 26856, "name": "WitOracleQueryReport", "nameLocation": "819:20:69", "nodeType": "EventDefinition", "parameters": { "id": 26855, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26852, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "865:7:69", "nodeType": "VariableDeclaration", "scope": 26856, "src": "850:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26851, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26850, "name": "Witnet.QueryId", "nameLocations": [ "850:6:69", "857:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "850:14:69" }, "referencedDeclaration": 37151, "src": "850:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26854, "indexed": false, "mutability": "mutable", "name": "evmGasPrice", "nameLocation": "892:11:69", "nodeType": "VariableDeclaration", "scope": 26856, "src": "884:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26853, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "884:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "839:71:69" }, "src": "813:98:69" }, { "anonymous": false, "eventSelector": "0c659cb9cb62e341db66980f799f14edbc937a08725319a4cd26d77b077e3b7d", "id": 26863, "name": "WitOracleQueryReportDispute", "nameLocation": "925:27:69", "nodeType": "EventDefinition", "parameters": { "id": 26862, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26859, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "978:7:69", "nodeType": "VariableDeclaration", "scope": 26863, "src": "963:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26858, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26857, "name": "Witnet.QueryId", "nameLocations": [ "963:6:69", "970:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "963:14:69" }, "referencedDeclaration": 37151, "src": "963:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26861, "indexed": false, "mutability": "mutable", "name": "evmDisputer", "nameLocation": "1004:11:69", "nodeType": "VariableDeclaration", "scope": 26863, "src": "996:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 26860, "name": "address", "nodeType": "ElementaryTypeName", "src": "996:7:69", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "952:70:69" }, "src": "919:104:69" }, { "anonymous": false, "documentation": { "id": 26864, "nodeType": "StructuredDocumentation", "src": "1031:81:69", "text": "Emitted when a query with a callback gets successfully reported into the WRB." }, "eventSelector": "6c796d02cda250b2df8ffb41596f8c9bd3de98cec4082fca7bddbfdf87500641", "id": 26875, "name": "WitOracleQueryReportDelivery", "nameLocation": "1124:28:69", "nodeType": "EventDefinition", "parameters": { "id": 26874, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26867, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "1178:7:69", "nodeType": "VariableDeclaration", "scope": 26875, "src": "1163:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26866, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26865, "name": "Witnet.QueryId", "nameLocations": [ "1163:6:69", "1170:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "1163:14:69" }, "referencedDeclaration": 37151, "src": "1163:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26869, "indexed": false, "mutability": "mutable", "name": "evmConsumer", "nameLocation": "1205:11:69", "nodeType": "VariableDeclaration", "scope": 26875, "src": "1197:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 26868, "name": "address", "nodeType": "ElementaryTypeName", "src": "1197:7:69", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 26871, "indexed": false, "mutability": "mutable", "name": "evmGasPrice", "nameLocation": "1235:11:69", "nodeType": "VariableDeclaration", "scope": 26875, "src": "1227:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26870, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1227:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26873, "indexed": false, "mutability": "mutable", "name": "evmCallbackGas", "nameLocation": "1266:14:69", "nodeType": "VariableDeclaration", "scope": 26875, "src": "1258:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26872, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1258:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "1152:135:69" }, "src": "1118:170:69" }, { "anonymous": false, "documentation": { "id": 26876, "nodeType": "StructuredDocumentation", "src": "1296:74:69", "text": "Emitted when a query with a callback cannot get reported into the WRB." }, "eventSelector": "09fcb062eea311bee472ba4446b2fd5ef38dbfbb7aefe922398b05776a86e48e", "id": 26891, "name": "WitOracleResportDeliveryFailed", "nameLocation": "1382:30:69", "nodeType": "EventDefinition", "parameters": { "id": 26890, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 26879, "indexed": false, "mutability": "mutable", "name": "queryId", "nameLocation": "1438:7:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1423:22:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" }, "typeName": { "id": 26878, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 26877, "name": "Witnet.QueryId", "nameLocations": [ "1423:6:69", "1430:7:69" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37151, "src": "1423:14:69" }, "referencedDeclaration": 37151, "src": "1423:14:69", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151", "typeString": "Witnet.QueryId" } }, "visibility": "internal" }, { "constant": false, "id": 26881, "indexed": false, "mutability": "mutable", "name": "evmConsumer", "nameLocation": "1465:11:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1457:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 26880, "name": "address", "nodeType": "ElementaryTypeName", "src": "1457:7:69", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 26883, "indexed": false, "mutability": "mutable", "name": "evmGasPrice", "nameLocation": "1495:11:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1487:19:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26882, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1487:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26885, "indexed": false, "mutability": "mutable", "name": "evmCallbackActualGas", "nameLocation": "1526:20:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1518:28:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 26884, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1518:7:69", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 26887, "indexed": false, "mutability": "mutable", "name": "evmCallbackRevertReason", "nameLocation": "1566:23:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1558:31:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 26886, "name": "string", "nodeType": "ElementaryTypeName", "src": "1558:6:69", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 26889, "indexed": false, "mutability": "mutable", "name": "resultCborBytes", "nameLocation": "1608:15:69", "nodeType": "VariableDeclaration", "scope": 26891, "src": "1600:23:69", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 26888, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1600:5:69", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "src": "1412:218:69" }, "src": "1376:255:69" } ], "scope": 26893, "src": "102:1532:69", "usedErrors": [], "usedEvents": [ 26836, 26848, 26856, 26863, 26875, 26891 ] } ], "src": "35:1601:69" }, "compiler": { "name": "solc", "version": "0.8.30+commit.73712a01.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.16", "updatedAt": "2025-10-15T14:34:45.897Z", "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "events": { "WitOracleQuery(address,uint256,uint256,uint64,bytes32,(uint16,