UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

1,226 lines 48.1 kB
{ "contractName": "IWitnetFeedsAdmin", "abi": [ { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "baseFeeOverheadPercentage", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" } ], "name": "deleteFeed", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "deleteFeeds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "name": "settleBaseFeeOverheadPercentage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint8", "name": "committeeSize", "type": "uint8" }, { "internalType": "uint64", "name": "witnessingFeeNanoWit", "type": "uint64" } ], "internalType": "struct WitnetV2.RadonSLA", "name": "", "type": "tuple" } ], "name": "settleDefaultRadonSLA", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "bytes32", "name": "radHash", "type": "bytes32" } ], "name": "settleFeedRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "contract WitnetRequest", "name": "request", "type": "address" } ], "name": "settleFeedRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "contract WitnetRequestTemplate", "name": "template", "type": "address" }, { "internalType": "string[][]", "name": "", "type": "string[][]" } ], "name": "settleFeedRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "address", "name": "solver", "type": "address" }, { "internalType": "string[]", "name": "deps", "type": "string[]" } ], "name": "settleFeedSolver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseFeeOverheadPercentage\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"caption\",\"type\":\"string\"}],\"name\":\"deleteFeed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deleteFeeds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"settleBaseFeeOverheadPercentage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"settleDefaultRadonSLA\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"caption\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"radHash\",\"type\":\"bytes32\"}],\"name\":\"settleFeedRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"caption\",\"type\":\"string\"},{\"internalType\":\"contract WitnetRequest\",\"name\":\"request\",\"type\":\"address\"}],\"name\":\"settleFeedRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"caption\",\"type\":\"string\"},{\"internalType\":\"contract WitnetRequestTemplate\",\"name\":\"template\",\"type\":\"address\"},{\"internalType\":\"string[][]\",\"name\":\"\",\"type\":\"string[][]\"}],\"name\":\"settleFeedRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"caption\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"deps\",\"type\":\"string[]\"}],\"name\":\"settleFeedSolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitnetFeedsAdmin.sol\":\"IWitnetFeedsAdmin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/WitnetOracle.sol\":{\"keccak256\":\"0x84ef8d2ebcba273e4bc23a5ee414a1213df55d1b4e496197a146031fea3a4874\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4a6e31964ed08c4c9dfe5279b4ffe9eeba6e759f15901e080e174e98e96a7f5\",\"dweb:/ipfs/QmTghzVFf2EHnfnHejgFGRBjanXYcstK9ftVaYmHWJfk8w\"]},\"project:/contracts/WitnetRequest.sol\":{\"keccak256\":\"0x5b5e8e9744de10fe86adf97826e3db5c5bcbf357d179a532ef4d7073c7c3af88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25bed2c86e46beb6f59024b731b9f3d1ab176312a28b090ad149ddea48841c32\",\"dweb:/ipfs/QmT3aAXfKQ2MTHo4dK1pCyhdvaLYf5TJtgcim5DfbWHjp4\"]},\"project:/contracts/WitnetRequestBytecodes.sol\":{\"keccak256\":\"0x2a79d919dd79c0e3f857e6bee08368ad0b463188aced4a52de29270ed0f5f3d2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://290d6013ee9f75fedbbb7726527a637ea2ae7a5da0ad118ecc43b298846f0bb0\",\"dweb:/ipfs/QmU8AZtPyctrrvxdmH297p595ZMS6DgcD6djSFKNxAqYMs\"]},\"project:/contracts/WitnetRequestFactory.sol\":{\"keccak256\":\"0x3c66f27d7c1db0e662c37d98005c4cbd871ceb75e97079d7bf673fb75d59c858\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://52adb318b870d0825718125e94fdbdd0e968ced09926420e2543b0ca4c6eb579\",\"dweb:/ipfs/QmYack87Q2UTfQb8KLLEPFBrMJgN2o6PaPqPNSc95McPVH\"]},\"project:/contracts/WitnetRequestTemplate.sol\":{\"keccak256\":\"0x10084f4f493f87d0acd9937fa786bf9e92512bf3670ee0427445d43c2cae973e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2491b8a6ec8f01a53f35f6aa602df8630955000f3dc67e7dc8b61b0b25a71657\",\"dweb:/ipfs/QmXEuPy6pVnSQpbg8G1DuVMKQyVfbTdtsDUrPYCbZNHARD\"]},\"project:/contracts/interfaces/IWitnetFeedsAdmin.sol\":{\"keccak256\":\"0x2c579a1cce3a3e9d8f63ff2bb0ed4dd51a64cf65af8ba7a990652fb32bcd59d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b46a0b1acf1ac98ac628cc94fde6d0311c9f1b427d3f16ba6a6b0bbae52ed5fb\",\"dweb:/ipfs/QmV1efnWWAm5pnhtkS79sZQVV4zMJFmsgrhocNN111KVmX\"]},\"project:/contracts/interfaces/IWitnetOracle.sol\":{\"keccak256\":\"0x5dbb04fce5e05675325232a735c46617378982b48dac2138aca0c6cc95e6e4d5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7447a70455478239500e16aebe5dce6676dc86307d22f662761d8e9f7c5d1276\",\"dweb:/ipfs/QmVkvA4Mt6G1JXxE8ebxKGAjT1WvNbp5QMKg9sUKdrJjhv\"]},\"project:/contracts/interfaces/IWitnetOracleEvents.sol\":{\"keccak256\":\"0x0442f474f253dc1f6bd6a4f153c3adb2abe5f6f0f24c76d1baf666185e61e659\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://535e8efcfc5693669d9bd2b6f62e6fc65aca19b7de355a27152e4362b410540d\",\"dweb:/ipfs/QmVZRXgku1cZewhoucebaiBKAyUjF2dmEzYrzGvjPzbwN9\"]},\"project:/contracts/interfaces/IWitnetRequestBytecodes.sol\":{\"keccak256\":\"0x8da168bee9a78442216965976b1f29087f760f37dcb09337283242599ed1cbca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e120623262ee0559913bdae56c0a7921147dfe08ada7ea81061b14e2fc38c5e1\",\"dweb:/ipfs/Qmbxe8XRrH6ZjJHiR6YYzcZV1jnSWwo9iBYz5r6GJ6To5G\"]},\"project:/contracts/interfaces/IWitnetRequestFactory.sol\":{\"keccak256\":\"0x3b19ec4a976745ba2646e7e1886d647ef30ad678460a712c93bbfb4405b57f1f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fa759ae15b7d4da622a81d50933474910959ac490d8b63ea2e7ed8608859a9c9\",\"dweb:/ipfs/QmRckCu7eBBP5fn9ff6djs7VbdhFc7sxYb2yqDr4go66jV\"]},\"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\n\r\npragma solidity >=0.8.0 <0.9.0;\r\n\r\nimport \"../libs/WitnetV2.sol\";\r\nimport \"../WitnetRequest.sol\";\r\n\r\ninterface IWitnetFeedsAdmin {\r\n function acceptOwnership() external;\r\n function baseFeeOverheadPercentage() external view returns (uint16);\r\n function deleteFeed(string calldata caption) external;\r\n function deleteFeeds() external;\r\n function owner() external view returns (address);\r\n function pendingOwner() external returns (address);\r\n function settleBaseFeeOverheadPercentage(uint16) external;\r\n function settleDefaultRadonSLA(WitnetV2.RadonSLA calldata) external;\r\n function settleFeedRequest(string calldata caption, bytes32 radHash) external;\r\n function settleFeedRequest(string calldata caption, WitnetRequest request) external;\r\n function settleFeedRequest(string calldata caption, WitnetRequestTemplate template, string[][] calldata) external;\r\n function settleFeedSolver (string calldata caption, address solver, string[] calldata deps) external;\r\n function transferOwnership(address) external;\r\n}", "sourcePath": "C:\\Users\\guill\\github\\witnet\\witnet-solidity-bridge\\contracts\\interfaces\\IWitnetFeedsAdmin.sol", "ast": { "absolutePath": "project:/contracts/interfaces/IWitnetFeedsAdmin.sol", "exportedSymbols": { "IWitnetFeedsAdmin": [ 13092 ], "IWitnetOracle": [ 13265 ], "IWitnetOracleEvents": [ 13315 ], "IWitnetRequestBytecodes": [ 13979 ], "IWitnetRequestFactory": [ 14002 ], "Witnet": [ 17557 ], "WitnetBuffer": [ 19191 ], "WitnetCBOR": [ 20734 ], "WitnetOracle": [ 749 ], "WitnetRequest": [ 826 ], "WitnetRequestBytecodes": [ 849 ], "WitnetRequestFactory": [ 880 ], "WitnetRequestTemplate": [ 1005 ], "WitnetV2": [ 23640 ] }, "id": 13093, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 13010, "literals": [ "solidity", ">=", "0.8", ".0", "<", "0.9", ".0" ], "nodeType": "PragmaDirective", "src": "35:31:48" }, { "absolutePath": "project:/contracts/libs/WitnetV2.sol", "file": "../libs/WitnetV2.sol", "id": 13011, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 13093, "sourceUnit": 23641, "src": "70:30:48", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "project:/contracts/WitnetRequest.sol", "file": "../WitnetRequest.sol", "id": 13012, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 13093, "sourceUnit": 827, "src": "102:30:48", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "canonicalName": "IWitnetFeedsAdmin", "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 13092, "linearizedBaseContracts": [ 13092 ], "name": "IWitnetFeedsAdmin", "nameLocation": "146:17:48", "nodeType": "ContractDefinition", "nodes": [ { "functionSelector": "79ba5097", "id": 13015, "implemented": false, "kind": "function", "modifiers": [], "name": "acceptOwnership", "nameLocation": "180:15:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13013, "nodeType": "ParameterList", "parameters": [], "src": "195:2:48" }, "returnParameters": { "id": 13014, "nodeType": "ParameterList", "parameters": [], "src": "206:0:48" }, "scope": 13092, "src": "171:36:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "eb92b29b", "id": 13020, "implemented": false, "kind": "function", "modifiers": [], "name": "baseFeeOverheadPercentage", "nameLocation": "222:25:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13016, "nodeType": "ParameterList", "parameters": [], "src": "247:2:48" }, "returnParameters": { "id": 13019, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13018, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13020, "src": "273:6:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" }, "typeName": { "id": 13017, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "273:6:48", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } }, "visibility": "internal" } ], "src": "272:8:48" }, "scope": 13092, "src": "213:68:48", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "86ac03e0", "id": 13025, "implemented": false, "kind": "function", "modifiers": [], "name": "deleteFeed", "nameLocation": "296:10:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13023, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13022, "mutability": "mutable", "name": "caption", "nameLocation": "323:7:48", "nodeType": "VariableDeclaration", "scope": 13025, "src": "307:23:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string" }, "typeName": { "id": 13021, "name": "string", "nodeType": "ElementaryTypeName", "src": "307:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "306:25:48" }, "returnParameters": { "id": 13024, "nodeType": "ParameterList", "parameters": [], "src": "340:0:48" }, "scope": 13092, "src": "287:54:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "e1c9e3c0", "id": 13028, "implemented": false, "kind": "function", "modifiers": [], "name": "deleteFeeds", "nameLocation": "356:11:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13026, "nodeType": "ParameterList", "parameters": [], "src": "367:2:48" }, "returnParameters": { "id": 13027, "nodeType": "ParameterList", "parameters": [], "src": "378:0:48" }, "scope": 13092, "src": "347:32:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "8da5cb5b", "id": 13033, "implemented": false, "kind": "function", "modifiers": [], "name": "owner", "nameLocation": "394:5:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13029, "nodeType": "ParameterList", "parameters": [], "src": "399:2:48" }, "returnParameters": { "id": 13032, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13031, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13033, "src": "425:7:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 13030, "name": "address", "nodeType": "ElementaryTypeName", "src": "425:7:48", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "424:9:48" }, "scope": 13092, "src": "385:49:48", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "e30c3978", "id": 13038, "implemented": false, "kind": "function", "modifiers": [], "name": "pendingOwner", "nameLocation": "449:12:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13034, "nodeType": "ParameterList", "parameters": [], "src": "461:2:48" }, "returnParameters": { "id": 13037, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13036, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13038, "src": "482:7:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 13035, "name": "address", "nodeType": "ElementaryTypeName", "src": "482:7:48", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "481:9:48" }, "scope": 13092, "src": "440:51:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "b8d38c96", "id": 13043, "implemented": false, "kind": "function", "modifiers": [], "name": "settleBaseFeeOverheadPercentage", "nameLocation": "506:31:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13041, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13040, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13043, "src": "538:6:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" }, "typeName": { "id": 13039, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "538:6:48", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } }, "visibility": "internal" } ], "src": "537:8:48" }, "returnParameters": { "id": 13042, "nodeType": "ParameterList", "parameters": [], "src": "554:0:48" }, "scope": 13092, "src": "497:58:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "fae91a51", "id": 13049, "implemented": false, "kind": "function", "modifiers": [], "name": "settleDefaultRadonSLA", "nameLocation": "570:21:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13047, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13046, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13049, "src": "592:26:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_struct$_RadonSLA_$23503_calldata_ptr", "typeString": "struct WitnetV2.RadonSLA" }, "typeName": { "id": 13045, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 13044, "name": "WitnetV2.RadonSLA", "nameLocations": [ "592:8:48", "601:8:48" ], "nodeType": "IdentifierPath", "referencedDeclaration": 23503, "src": "592:17:48" }, "referencedDeclaration": 23503, "src": "592:17:48", "typeDescriptions": { "typeIdentifier": "t_struct$_RadonSLA_$23503_storage_ptr", "typeString": "struct WitnetV2.RadonSLA" } }, "visibility": "internal" } ], "src": "591:28:48" }, "returnParameters": { "id": 13048, "nodeType": "ParameterList", "parameters": [], "src": "628:0:48" }, "scope": 13092, "src": "561:68:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "84292f07", "id": 13056, "implemented": false, "kind": "function", "modifiers": [], "name": "settleFeedRequest", "nameLocation": "644:17:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13054, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13051, "mutability": "mutable", "name": "caption", "nameLocation": "678:7:48", "nodeType": "VariableDeclaration", "scope": 13056, "src": "662:23:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string" }, "typeName": { "id": 13050, "name": "string", "nodeType": "ElementaryTypeName", "src": "662:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 13053, "mutability": "mutable", "name": "radHash", "nameLocation": "695:7:48", "nodeType": "VariableDeclaration", "scope": 13056, "src": "687:15:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13052, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "687:7:48", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "661:42:48" }, "returnParameters": { "id": 13055, "nodeType": "ParameterList", "parameters": [], "src": "712:0:48" }, "scope": 13092, "src": "635:78:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "ac82c608", "id": 13064, "implemented": false, "kind": "function", "modifiers": [], "name": "settleFeedRequest", "nameLocation": "728:17:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13062, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13058, "mutability": "mutable", "name": "caption", "nameLocation": "762:7:48", "nodeType": "VariableDeclaration", "scope": 13064, "src": "746:23:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string" }, "typeName": { "id": 13057, "name": "string", "nodeType": "ElementaryTypeName", "src": "746:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 13061, "mutability": "mutable", "name": "request", "nameLocation": "785:7:48", "nodeType": "VariableDeclaration", "scope": 13064, "src": "771:21:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_WitnetRequest_$826", "typeString": "contract WitnetRequest" }, "typeName": { "id": 13060, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 13059, "name": "WitnetRequest", "nameLocations": [ "771:13:48" ], "nodeType": "IdentifierPath", "referencedDeclaration": 826, "src": "771:13:48" }, "referencedDeclaration": 826, "src": "771:13:48", "typeDescriptions": { "typeIdentifier": "t_contract$_WitnetRequest_$826", "typeString": "contract WitnetRequest" } }, "visibility": "internal" } ], "src": "745:48:48" }, "returnParameters": { "id": 13063, "nodeType": "ParameterList", "parameters": [], "src": "802:0:48" }, "scope": 13092, "src": "719:84:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "ff24fb4f", "id": 13076, "implemented": false, "kind": "function", "modifiers": [], "name": "settleFeedRequest", "nameLocation": "818:17:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13074, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13066, "mutability": "mutable", "name": "caption", "nameLocation": "852:7:48", "nodeType": "VariableDeclaration", "scope": 13076, "src": "836:23:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string" }, "typeName": { "id": 13065, "name": "string", "nodeType": "ElementaryTypeName", "src": "836:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 13069, "mutability": "mutable", "name": "template", "nameLocation": "883:8:48", "nodeType": "VariableDeclaration", "scope": 13076, "src": "861:30:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_WitnetRequestTemplate_$1005", "typeString": "contract WitnetRequestTemplate" }, "typeName": { "id": 13068, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 13067, "name": "WitnetRequestTemplate", "nameLocations": [ "861:21:48" ], "nodeType": "IdentifierPath", "referencedDeclaration": 1005, "src": "861:21:48" }, "referencedDeclaration": 1005, "src": "861:21:48", "typeDescriptions": { "typeIdentifier": "t_contract$_WitnetRequestTemplate_$1005", "typeString": "contract WitnetRequestTemplate" } }, "visibility": "internal" }, { "constant": false, "id": 13073, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13076, "src": "893:19:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_array$_t_array$_t_string_calldata_ptr_$dyn_calldata_ptr_$dyn_calldata_ptr", "typeString": "string[][]" }, "typeName": { "baseType": { "baseType": { "id": 13070, "name": "string", "nodeType": "ElementaryTypeName", "src": "893:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 13071, "nodeType": "ArrayTypeName", "src": "893:8:48", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "id": 13072, "nodeType": "ArrayTypeName", "src": "893:10:48", "typeDescriptions": { "typeIdentifier": "t_array$_t_array$_t_string_storage_$dyn_storage_$dyn_storage_ptr", "typeString": "string[][]" } }, "visibility": "internal" } ], "src": "835:78:48" }, "returnParameters": { "id": 13075, "nodeType": "ParameterList", "parameters": [], "src": "922:0:48" }, "scope": 13092, "src": "809:114:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "03f3813d", "id": 13086, "implemented": false, "kind": "function", "modifiers": [], "name": "settleFeedSolver", "nameLocation": "938:16:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13084, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13078, "mutability": "mutable", "name": "caption", "nameLocation": "972:7:48", "nodeType": "VariableDeclaration", "scope": 13086, "src": "956:23:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string" }, "typeName": { "id": 13077, "name": "string", "nodeType": "ElementaryTypeName", "src": "956:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" }, { "constant": false, "id": 13080, "mutability": "mutable", "name": "solver", "nameLocation": "989:6:48", "nodeType": "VariableDeclaration", "scope": 13086, "src": "981:14:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 13079, "name": "address", "nodeType": "ElementaryTypeName", "src": "981:7:48", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 13083, "mutability": "mutable", "name": "deps", "nameLocation": "1015:4:48", "nodeType": "VariableDeclaration", "scope": 13086, "src": "997:22:48", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", "typeString": "string[]" }, "typeName": { "baseType": { "id": 13081, "name": "string", "nodeType": "ElementaryTypeName", "src": "997:6:48", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "id": 13082, "nodeType": "ArrayTypeName", "src": "997:8:48", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" } }, "visibility": "internal" } ], "src": "955:65:48" }, "returnParameters": { "id": 13085, "nodeType": "ParameterList", "parameters": [], "src": "1029:0:48" }, "scope": 13092, "src": "929:101:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "f2fde38b", "id": 13091, "implemented": false, "kind": "function", "modifiers": [], "name": "transferOwnership", "nameLocation": "1045:17:48", "nodeType": "FunctionDefinition", "parameters": { "id": 13089, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 13088, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 13091, "src": "1063:7:48", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 13087, "name": "address", "nodeType": "ElementaryTypeName", "src": "1063:7:48", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "1062:9:48" }, "returnParameters": { "id": 13090, "nodeType": "ParameterList", "parameters": [], "src": "1080:0:48" }, "scope": 13092, "src": "1036:45:48", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], "scope": 13093, "src": "136:948:48", "usedErrors": [], "usedEvents": [] } ], "src": "35:1049:48" }, "compiler": { "name": "solc", "version": "0.8.25+commit.b61c2a91.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.16", "updatedAt": "2024-12-05T09:36:04.498Z", "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }