witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
806 lines • 33.1 kB
JSON
{
"contractName": "IWitnetOracleEvents",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmReward",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint8",
"name": "committeeSize",
"type": "uint8"
},
{
"internalType": "uint64",
"name": "witnessingFeeNanoWit",
"type": "uint64"
}
],
"indexed": false,
"internalType": "struct WitnetV2.RadonSLA",
"name": "witnetSLA",
"type": "tuple"
}
],
"name": "WitnetQuery",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmGasPrice",
"type": "uint256"
}
],
"name": "WitnetQueryResponse",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmGasPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmCallbackGas",
"type": "uint256"
}
],
"name": "WitnetQueryResponseDelivered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "resultCborBytes",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmGasPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmCallbackActualGas",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "evmCallbackRevertReason",
"type": "string"
}
],
"name": "WitnetQueryResponseDeliveryFailed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "evmReward",
"type": "uint256"
}
],
"name": "WitnetQueryRewardUpgraded",
"type": "event"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmReward\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"witnetSLA\",\"type\":\"tuple\"}],\"name\":\"WitnetQuery\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"}],\"name\":\"WitnetQueryResponse\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmCallbackGas\",\"type\":\"uint256\"}],\"name\":\"WitnetQueryResponseDelivered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"resultCborBytes\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmCallbackActualGas\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"evmCallbackRevertReason\",\"type\":\"string\"}],\"name\":\"WitnetQueryResponseDeliveryFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"evmReward\",\"type\":\"uint256\"}],\"name\":\"WitnetQueryRewardUpgraded\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"WitnetQuery(uint256,uint256,(uint8,uint64))\":{\"notice\":\"Emitted every time a new query containing some verified data request is posted to the WRB.\"},\"WitnetQueryResponse(uint256,uint256)\":{\"notice\":\"Emitted when a query with no callback gets reported into the WRB.\"},\"WitnetQueryResponseDelivered(uint256,uint256,uint256)\":{\"notice\":\"Emitted when a query with a callback gets successfully reported into the WRB.\"},\"WitnetQueryResponseDeliveryFailed(uint256,bytes,uint256,uint256,string)\":{\"notice\":\"Emitted when a query with a callback cannot get reported into the WRB.\"},\"WitnetQueryRewardUpgraded(uint256,uint256)\":{\"notice\":\"Emitted when the reward of some not-yet reported query is upgraded.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitnetOracleEvents.sol\":\"IWitnetOracleEvents\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitnetOracleEvents.sol\":{\"keccak256\":\"0x0442f474f253dc1f6bd6a4f153c3adb2abe5f6f0f24c76d1baf666185e61e659\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://535e8efcfc5693669d9bd2b6f62e6fc65aca19b7de355a27152e4362b410540d\",\"dweb:/ipfs/QmVZRXgku1cZewhoucebaiBKAyUjF2dmEzYrzGvjPzbwN9\"]},\"project:/contracts/libs/Witnet.sol\":{\"keccak256\":\"0x65a87375dd79d63a83fb454b7199b6c999bd59c50b3b59d521c5c4d45a7d3cc3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ca865b681d810c2fc5c3672ea6343c3bdf6fd71764ab824d25994744dc85866b\",\"dweb:/ipfs/QmPGcP3xGTNZfsQ9GSKdujNLRVs8dWDdubyUko1rbQqJNv\"]},\"project:/contracts/libs/WitnetBuffer.sol\":{\"keccak256\":\"0xa14570492eb5a313ddbacae0185c850ec99c67211eb33989a5e21d31bf06a150\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e83c11edb49cab6a767c0b685825bc22ece0d3d2897e0d54fe1923df5cc76ba5\",\"dweb:/ipfs/QmdLDgCc3tnKbgRrXwfNzsg6uUDirNmjvBB8V3iMmnD69a\"]},\"project:/contracts/libs/WitnetCBOR.sol\":{\"keccak256\":\"0xb346547ff731163beea2c657c52675cdf7936691d566a76a045577cf9c34ade0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d4b5b6424a033584b41f1204d635db98fda9ca9bd2a614c9d82539a3e4e6529\",\"dweb:/ipfs/QmW6Qy3wWpzHSECYaCPaf9LWGfPqWDKVoP2kPSNNQu7LMQ\"]},\"project:/contracts/libs/WitnetV2.sol\":{\"keccak256\":\"0xb276a6da373bfbe9cd942dd7e59979cda898215d1e36ab3df95a6d6cc6ff770f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc4890876b9bc64f501ccdd48408bb63724865cb2ce8d2057f6b318540adce7c\",\"dweb:/ipfs/QmPMHPdbCsKBavhiLcaDgQ9EjNSvwwzv8TKffotcCv1ctP\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: MIT\r\npragma solidity >=0.7.0 <0.9.0;\r\n\r\nimport \"../libs/WitnetV2.sol\";\r\n\r\ninterface IWitnetOracleEvents {\r\n \r\n /// Emitted every time a new query containing some verified data request is posted to the WRB.\r\n event WitnetQuery(\r\n uint256 id, \r\n uint256 evmReward,\r\n WitnetV2.RadonSLA witnetSLA\r\n );\r\n\r\n /// Emitted when a query with no callback gets reported into the WRB.\r\n event WitnetQueryResponse(\r\n uint256 id, \r\n uint256 evmGasPrice\r\n );\r\n\r\n /// Emitted when a query with a callback gets successfully reported into the WRB.\r\n event WitnetQueryResponseDelivered(\r\n uint256 id, \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 WitnetQueryResponseDeliveryFailed(\r\n uint256 id, \r\n bytes resultCborBytes,\r\n uint256 evmGasPrice, \r\n uint256 evmCallbackActualGas, \r\n string evmCallbackRevertReason\r\n );\r\n\r\n /// Emitted when the reward of some not-yet reported query is upgraded.\r\n event WitnetQueryRewardUpgraded(\r\n uint256 id, \r\n uint256 evmReward\r\n );\r\n\r\n}\r\n",
"sourcePath": "C:\\Users\\guill\\github\\witnet\\witnet-solidity-bridge\\contracts\\interfaces\\IWitnetOracleEvents.sol",
"ast": {
"absolutePath": "project:/contracts/interfaces/IWitnetOracleEvents.sol",
"exportedSymbols": {
"IWitnetOracleEvents": [
13315
],
"Witnet": [
17557
],
"WitnetBuffer": [
19191
],
"WitnetCBOR": [
20734
],
"WitnetV2": [
23640
]
},
"id": 13316,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 13267,
"literals": [
"solidity",
">=",
"0.7",
".0",
"<",
"0.9",
".0"
],
"nodeType": "PragmaDirective",
"src": "33:31:50"
},
{
"absolutePath": "project:/contracts/libs/WitnetV2.sol",
"file": "../libs/WitnetV2.sol",
"id": 13268,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 13316,
"sourceUnit": 23641,
"src": "68:30:50",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IWitnetOracleEvents",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": true,
"id": 13315,
"linearizedBaseContracts": [
13315
],
"name": "IWitnetOracleEvents",
"nameLocation": "112:19:50",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": {
"id": 13269,
"nodeType": "StructuredDocumentation",
"src": "145:94:50",
"text": "Emitted every time a new query containing some verified data request is posted to the WRB."
},
"eventSelector": "fb94adf28ab7e538d2691d90927f622cbc1100eae6afec58052efdee6c98a616",
"id": 13278,
"name": "WitnetQuery",
"nameLocation": "251:11:50",
"nodeType": "EventDefinition",
"parameters": {
"id": 13277,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13271,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "281:2:50",
"nodeType": "VariableDeclaration",
"scope": 13278,
"src": "273:10:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13270,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "273:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13273,
"indexed": false,
"mutability": "mutable",
"name": "evmReward",
"nameLocation": "303:9:50",
"nodeType": "VariableDeclaration",
"scope": 13278,
"src": "295:17:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13272,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "295:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13276,
"indexed": false,
"mutability": "mutable",
"name": "witnetSLA",
"nameLocation": "341:9:50",
"nodeType": "VariableDeclaration",
"scope": 13278,
"src": "323:27:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_struct$_RadonSLA_$23503_memory_ptr",
"typeString": "struct WitnetV2.RadonSLA"
},
"typeName": {
"id": 13275,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 13274,
"name": "WitnetV2.RadonSLA",
"nameLocations": [
"323:8:50",
"332:8:50"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 23503,
"src": "323:17:50"
},
"referencedDeclaration": 23503,
"src": "323:17:50",
"typeDescriptions": {
"typeIdentifier": "t_struct$_RadonSLA_$23503_storage_ptr",
"typeString": "struct WitnetV2.RadonSLA"
}
},
"visibility": "internal"
}
],
"src": "262:95:50"
},
"src": "245:113:50"
},
{
"anonymous": false,
"documentation": {
"id": 13279,
"nodeType": "StructuredDocumentation",
"src": "366:69:50",
"text": "Emitted when a query with no callback gets reported into the WRB."
},
"eventSelector": "1fd7bc07c18ac1c4f6d3111c704cd1b4c29b9f7980b7c5a9a2fddeef29d6c277",
"id": 13285,
"name": "WitnetQueryResponse",
"nameLocation": "447:19:50",
"nodeType": "EventDefinition",
"parameters": {
"id": 13284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13281,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "485:2:50",
"nodeType": "VariableDeclaration",
"scope": 13285,
"src": "477:10:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13280,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "477:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13283,
"indexed": false,
"mutability": "mutable",
"name": "evmGasPrice",
"nameLocation": "507:11:50",
"nodeType": "VariableDeclaration",
"scope": 13285,
"src": "499:19:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "499:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "466:59:50"
},
"src": "441:85:50"
},
{
"anonymous": false,
"documentation": {
"id": 13286,
"nodeType": "StructuredDocumentation",
"src": "534:81:50",
"text": "Emitted when a query with a callback gets successfully reported into the WRB."
},
"eventSelector": "37fc320f2d5c58a36c657d3b047384d42550bcc0d9781d13a7d97f8a97c2370c",
"id": 13294,
"name": "WitnetQueryResponseDelivered",
"nameLocation": "627:28:50",
"nodeType": "EventDefinition",
"parameters": {
"id": 13293,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13288,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "674:2:50",
"nodeType": "VariableDeclaration",
"scope": 13294,
"src": "666:10:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13287,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "666:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13290,
"indexed": false,
"mutability": "mutable",
"name": "evmGasPrice",
"nameLocation": "696:11:50",
"nodeType": "VariableDeclaration",
"scope": 13294,
"src": "688:19:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13289,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "688:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13292,
"indexed": false,
"mutability": "mutable",
"name": "evmCallbackGas",
"nameLocation": "727:14:50",
"nodeType": "VariableDeclaration",
"scope": 13294,
"src": "719:22:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13291,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "719:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "655:93:50"
},
"src": "621:128:50"
},
{
"anonymous": false,
"documentation": {
"id": 13295,
"nodeType": "StructuredDocumentation",
"src": "757:74:50",
"text": "Emitted when a query with a callback cannot get reported into the WRB."
},
"eventSelector": "794f0625cb473a6fc2bbc46c87577b8e719f074c42f7fe02abdf08e7435b1d8d",
"id": 13307,
"name": "WitnetQueryResponseDeliveryFailed",
"nameLocation": "843:33:50",
"nodeType": "EventDefinition",
"parameters": {
"id": 13306,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13297,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "895:2:50",
"nodeType": "VariableDeclaration",
"scope": 13307,
"src": "887:10:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13296,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "887:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13299,
"indexed": false,
"mutability": "mutable",
"name": "resultCborBytes",
"nameLocation": "917:15:50",
"nodeType": "VariableDeclaration",
"scope": 13307,
"src": "909:23:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 13298,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "909:5:50",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13301,
"indexed": false,
"mutability": "mutable",
"name": "evmGasPrice",
"nameLocation": "951:11:50",
"nodeType": "VariableDeclaration",
"scope": 13307,
"src": "943:19:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13300,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "943:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13303,
"indexed": false,
"mutability": "mutable",
"name": "evmCallbackActualGas",
"nameLocation": "982:20:50",
"nodeType": "VariableDeclaration",
"scope": 13307,
"src": "974:28:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13302,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "974:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13305,
"indexed": false,
"mutability": "mutable",
"name": "evmCallbackRevertReason",
"nameLocation": "1022:23:50",
"nodeType": "VariableDeclaration",
"scope": 13307,
"src": "1014:31:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 13304,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1014:6:50",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "876:176:50"
},
"src": "837:216:50"
},
{
"anonymous": false,
"documentation": {
"id": 13308,
"nodeType": "StructuredDocumentation",
"src": "1061:71:50",
"text": "Emitted when the reward of some not-yet reported query is upgraded."
},
"eventSelector": "dcced240139c3504c690fc16a776a5a4da3d5d1c139539e75037554ddc21e55b",
"id": 13314,
"name": "WitnetQueryRewardUpgraded",
"nameLocation": "1144:25:50",
"nodeType": "EventDefinition",
"parameters": {
"id": 13313,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13310,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "1188:2:50",
"nodeType": "VariableDeclaration",
"scope": 13314,
"src": "1180:10:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13309,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1180:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13312,
"indexed": false,
"mutability": "mutable",
"name": "evmReward",
"nameLocation": "1210:9:50",
"nodeType": "VariableDeclaration",
"scope": 13314,
"src": "1202:17:50",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13311,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1202:7:50",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1169:57:50"
},
"src": "1138:89:50"
}
],
"scope": 13316,
"src": "102:1130:50",
"usedErrors": [],
"usedEvents": [
13278,
13285,
13294,
13307,
13314
]
}
],
"src": "33:1201:50"
},
"compiler": {
"name": "solc",
"version": "0.8.25+commit.b61c2a91.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.4.16",
"updatedAt": "2024-12-05T09:36:04.502Z",
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"events": {
"WitnetQuery(uint256,uint256,(uint8,uint64))": {
"notice": "Emitted every time a new query containing some verified data request is posted to the WRB."
},
"WitnetQueryResponse(uint256,uint256)": {
"notice": "Emitted when a query with no callback gets reported into the WRB."
},
"WitnetQueryResponseDelivered(uint256,uint256,uint256)": {
"notice": "Emitted when a query with a callback gets successfully reported into the WRB."
},
"WitnetQueryResponseDeliveryFailed(uint256,bytes,uint256,uint256,string)": {
"notice": "Emitted when a query with a callback cannot get reported into the WRB."
},
"WitnetQueryRewardUpgraded(uint256,uint256)": {
"notice": "Emitted when the reward of some not-yet reported query is upgraded."
}
},
"kind": "user",
"methods": {},
"version": 1
}
}