UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

323 lines 14.2 kB
{ "contractName": "IWitOracleRadonRegistryEvents", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "NewRadonReducer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "Witnet.RadonHash", "name": "radonHash", "type": "bytes32" } ], "name": "NewRadonRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "NewRadonRetrieval", "type": "event" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"NewRadonReducer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Witnet.RadonHash\",\"name\":\"radonHash\",\"type\":\"bytes32\"}],\"name\":\"NewRadonRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"NewRadonRetrieval\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"NewRadonReducer(bytes32)\":{\"notice\":\"Emitted every time a new Radon Reducer gets successfully verified and stored into the WitOracleRadonRegistry.\"},\"NewRadonRequest(bytes32)\":{\"notice\":\"Emitted every time a new Radon Request gets successfully verified and stored into the WitOracleRadonRegistry.\"},\"NewRadonRetrieval(bytes32)\":{\"notice\":\"Emitted every time a new Radon Retrieval gets successfully verified and stored into the WitOracleRadonRegistry.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitOracleRadonRegistryEvents.sol\":\"IWitOracleRadonRegistryEvents\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitOracleRadonRegistryEvents.sol\":{\"keccak256\":\"0x9bd30477aeb33de11c4f1df3cd7451452a90ffed1f6eabd9e643046bf1e60d66\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18fb38c5528ed2e1bf90ff8d123bf5a9523d0dc49f448d6c39ddad1cd9048d0a\",\"dweb:/ipfs/QmQq1RUwFgnGTk3xDAmN6u2WMPBzvjZNJc7TPYtG6aZfRn\"]},\"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 IWitOracleRadonRegistryEvents {\r\n\r\n /// Emitted every time a new Radon Reducer gets successfully verified and\r\n /// stored into the WitOracleRadonRegistry.\r\n event NewRadonReducer(bytes32 hash);\r\n\r\n /// Emitted every time a new Radon Retrieval gets successfully verified and\r\n /// stored into the WitOracleRadonRegistry.\r\n event NewRadonRetrieval(bytes32 hash);\r\n\r\n /// Emitted every time a new Radon Request gets successfully verified and\r\n /// stored into the WitOracleRadonRegistry.\r\n event NewRadonRequest(Witnet.RadonHash radonHash);\r\n}\r\n", "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\IWitOracleRadonRegistryEvents.sol", "ast": { "absolutePath": "project:/contracts/interfaces/IWitOracleRadonRegistryEvents.sol", "exportedSymbols": { "Bech32": [ 31372 ], "IWitOracleRadonRegistryEvents": [ 27414 ], "Secp256k1": [ 32535 ], "Witnet": [ 40741 ], "WitnetBuffer": [ 42631 ], "WitnetCBOR": [ 44174 ] }, "id": 27415, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 27396, "literals": [ "solidity", ">=", "0.8", ".0", "<", "0.9", ".0" ], "nodeType": "PragmaDirective", "src": "35:31:74" }, { "absolutePath": "project:/contracts/libs/Witnet.sol", "file": "../libs/Witnet.sol", "id": 27397, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 27415, "sourceUnit": 40742, "src": "70:28:74", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "canonicalName": "IWitOracleRadonRegistryEvents", "contractDependencies": [], "contractKind": "interface", "fullyImplemented": true, "id": 27414, "linearizedBaseContracts": [ 27414 ], "name": "IWitOracleRadonRegistryEvents", "nameLocation": "112:29:74", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { "id": 27398, "nodeType": "StructuredDocumentation", "src": "151:122:74", "text": "Emitted every time a new Radon Reducer gets successfully verified and\n stored into the WitOracleRadonRegistry." }, "eventSelector": "320dd9c6faaa443dc32e80fbf490af796ec6dce6bbb09027a5b37444fa4571d7", "id": 27402, "name": "NewRadonReducer", "nameLocation": "285:15:74", "nodeType": "EventDefinition", "parameters": { "id": 27401, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 27400, "indexed": false, "mutability": "mutable", "name": "hash", "nameLocation": "309:4:74", "nodeType": "VariableDeclaration", "scope": 27402, "src": "301:12:74", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 27399, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "301:7:74", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "300:14:74" }, "src": "279:36:74" }, { "anonymous": false, "documentation": { "id": 27403, "nodeType": "StructuredDocumentation", "src": "323:124:74", "text": "Emitted every time a new Radon Retrieval gets successfully verified and\n stored into the WitOracleRadonRegistry." }, "eventSelector": "be95e1bda0ae521f178da31f3aae4e1218556af2a302dd68319055236c235b92", "id": 27407, "name": "NewRadonRetrieval", "nameLocation": "459:17:74", "nodeType": "EventDefinition", "parameters": { "id": 27406, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 27405, "indexed": false, "mutability": "mutable", "name": "hash", "nameLocation": "485:4:74", "nodeType": "VariableDeclaration", "scope": 27407, "src": "477:12:74", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 27404, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "477:7:74", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "476:14:74" }, "src": "453:38:74" }, { "anonymous": false, "documentation": { "id": 27408, "nodeType": "StructuredDocumentation", "src": "499:122:74", "text": "Emitted every time a new Radon Request gets successfully verified and\n stored into the WitOracleRadonRegistry." }, "eventSelector": "33415078470d846accbdec5f4869eae9b8cb9ae69d7fa487792b6b0daf9f736e", "id": 27413, "name": "NewRadonRequest", "nameLocation": "633:15:74", "nodeType": "EventDefinition", "parameters": { "id": 27412, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 27411, "indexed": false, "mutability": "mutable", "name": "radonHash", "nameLocation": "666:9:74", "nodeType": "VariableDeclaration", "scope": 27413, "src": "649:26:74", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_RadonHash_$37153", "typeString": "Witnet.RadonHash" }, "typeName": { "id": 27410, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 27409, "name": "Witnet.RadonHash", "nameLocations": [ "649:6:74", "656:9:74" ], "nodeType": "IdentifierPath", "referencedDeclaration": 37153, "src": "649:16:74" }, "referencedDeclaration": 37153, "src": "649:16:74", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_RadonHash_$37153", "typeString": "Witnet.RadonHash" } }, "visibility": "internal" } ], "src": "648:28:74" }, "src": "627:50:74" } ], "scope": 27415, "src": "102:578:74", "usedErrors": [], "usedEvents": [ 27402, 27407, 27413 ] } ], "src": "35:647:74" }, "compiler": { "name": "solc", "version": "0.8.30+commit.73712a01.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.16", "updatedAt": "2025-10-15T14:34:45.904Z", "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "events": { "NewRadonReducer(bytes32)": { "notice": "Emitted every time a new Radon Reducer gets successfully verified and stored into the WitOracleRadonRegistry." }, "NewRadonRequest(bytes32)": { "notice": "Emitted every time a new Radon Request gets successfully verified and stored into the WitOracleRadonRegistry." }, "NewRadonRetrieval(bytes32)": { "notice": "Emitted every time a new Radon Retrieval gets successfully verified and stored into the WitOracleRadonRegistry." } }, "kind": "user", "methods": {}, "version": 1 } }