{
  "contractName": "IWitnetFeeds",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "WitnetFeedDeleted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "radHash",
          "type": "bytes32"
        }
      ],
      "name": "WitnetFeedSettled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "solver",
          "type": "address"
        }
      ],
      "name": "WitnetFeedSolverSettled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "origin",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "witnetQueryId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "witnetQueryEvmReward",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "committeeSize",
              "type": "uint8"
            },
            {
              "internalType": "uint64",
              "name": "witnessingFeeNanoWit",
              "type": "uint64"
            }
          ],
          "indexed": false,
          "internalType": "struct WitnetV2.RadonSLA",
          "name": "witnetQuerySLA",
          "type": "tuple"
        }
      ],
      "name": "WitnetFeedUpdateRequested",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "origin",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "witnetQueryId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "witnetQueryReward",
          "type": "uint256"
        }
      ],
      "name": "WitnetFeedUpdateRequested",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "committeeSize",
              "type": "uint8"
            },
            {
              "internalType": "uint64",
              "name": "witnessingFeeNanoWit",
              "type": "uint64"
            }
          ],
          "indexed": false,
          "internalType": "struct WitnetV2.RadonSLA",
          "name": "sla",
          "type": "tuple"
        }
      ],
      "name": "WitnetRadonSLA",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "dataType",
      "outputs": [
        {
          "internalType": "enum Witnet.RadonDataTypes",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "prefix",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "registry",
      "outputs": [
        {
          "internalType": "contract WitnetRequestBytecodes",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "witnet",
      "outputs": [
        {
          "internalType": "contract WitnetOracle",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "defaultRadonSLA",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "numWitnesses",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minConsensusPercentage",
              "type": "uint8"
            },
            {
              "internalType": "uint64",
              "name": "witnessReward",
              "type": "uint64"
            },
            {
              "internalType": "uint64",
              "name": "witnessCollateral",
              "type": "uint64"
            },
            {
              "internalType": "uint64",
              "name": "minerCommitRevealFee",
              "type": "uint64"
            }
          ],
          "internalType": "struct Witnet.RadonSLA",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "evmGasPrice",
          "type": "uint256"
        }
      ],
      "name": "estimateUpdateBaseFee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "lastValidQueryId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "lastValidResponse",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "reporter",
              "type": "address"
            },
            {
              "internalType": "uint64",
              "name": "finality",
              "type": "uint64"
            },
            {
              "internalType": "uint32",
              "name": "resultTimestamp",
              "type": "uint32"
            },
            {
              "internalType": "bytes32",
              "name": "resultTallyHash",
              "type": "bytes32"
            },
            {
              "internalType": "bytes",
              "name": "resultCborBytes",
              "type": "bytes"
            }
          ],
          "internalType": "struct WitnetV2.Response",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "latestUpdateQueryId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "latestUpdateRequest",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "requester",
              "type": "address"
            },
            {
              "internalType": "uint24",
              "name": "gasCallback",
              "type": "uint24"
            },
            {
              "internalType": "uint72",
              "name": "evmReward",
              "type": "uint72"
            },
            {
              "internalType": "bytes",
              "name": "witnetBytecode",
              "type": "bytes"
            },
            {
              "internalType": "bytes32",
              "name": "witnetRAD",
              "type": "bytes32"
            },
            {
              "components": [
                {
                  "internalType": "uint8",
                  "name": "committeeSize",
                  "type": "uint8"
                },
                {
                  "internalType": "uint64",
                  "name": "witnessingFeeNanoWit",
                  "type": "uint64"
                }
              ],
              "internalType": "struct WitnetV2.RadonSLA",
              "name": "witnetSLA",
              "type": "tuple"
            }
          ],
          "internalType": "struct WitnetV2.Request",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "latestUpdateResponse",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "reporter",
              "type": "address"
            },
            {
              "internalType": "uint64",
              "name": "finality",
              "type": "uint64"
            },
            {
              "internalType": "uint32",
              "name": "resultTimestamp",
              "type": "uint32"
            },
            {
              "internalType": "bytes32",
              "name": "resultTallyHash",
              "type": "bytes32"
            },
            {
              "internalType": "bytes",
              "name": "resultCborBytes",
              "type": "bytes"
            }
          ],
          "internalType": "struct WitnetV2.Response",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "latestUpdateResponseStatus",
      "outputs": [
        {
          "internalType": "enum WitnetV2.ResponseStatus",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "latestUpdateResultError",
      "outputs": [
        {
          "components": [
            {
              "internalType": "enum Witnet.ResultErrorCodes",
              "name": "code",
              "type": "uint8"
            },
            {
              "internalType": "string",
              "name": "reason",
              "type": "string"
            }
          ],
          "internalType": "struct Witnet.ResultError",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "lookupWitnetBytecode",
      "outputs": [
        {
          "internalType": "bytes",
          "name": "",
          "type": "bytes"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "lookupWitnetRadHash",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "lookupWitnetRetrievals",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "argsCount",
              "type": "uint8"
            },
            {
              "internalType": "enum Witnet.RadonDataRequestMethods",
              "name": "method",
              "type": "uint8"
            },
            {
              "internalType": "enum Witnet.RadonDataTypes",
              "name": "resultDataType",
              "type": "uint8"
            },
            {
              "internalType": "string",
              "name": "url",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "body",
              "type": "string"
            },
            {
              "internalType": "string[2][]",
              "name": "headers",
              "type": "string[2][]"
            },
            {
              "internalType": "bytes",
              "name": "script",
              "type": "bytes"
            }
          ],
          "internalType": "struct Witnet.RadonRetrieval[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        }
      ],
      "name": "requestUpdate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "usedFunds",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "feedId",
          "type": "bytes4"
        },
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "committeeSize",
              "type": "uint8"
            },
            {
              "internalType": "uint64",
              "name": "witnessingFeeNanoWit",
              "type": "uint64"
            }
          ],
          "internalType": "struct WitnetV2.RadonSLA",
          "name": "updateSLA",
          "type": "tuple"
        }
      ],
      "name": "requestUpdate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "usedFunds",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"WitnetFeedDeleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"radHash\",\"type\":\"bytes32\"}],\"name\":\"WitnetFeedSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"solver\",\"type\":\"address\"}],\"name\":\"WitnetFeedSolverSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"witnetQueryId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"witnetQueryEvmReward\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"witnetQuerySLA\",\"type\":\"tuple\"}],\"name\":\"WitnetFeedUpdateRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"witnetQueryId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"witnetQueryReward\",\"type\":\"uint256\"}],\"name\":\"WitnetFeedUpdateRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"sla\",\"type\":\"tuple\"}],\"name\":\"WitnetRadonSLA\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"dataType\",\"outputs\":[{\"internalType\":\"enum Witnet.RadonDataTypes\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultRadonSLA\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"numWitnesses\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minConsensusPercentage\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessReward\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"witnessCollateral\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"minerCommitRevealFee\",\"type\":\"uint64\"}],\"internalType\":\"struct Witnet.RadonSLA\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"evmGasPrice\",\"type\":\"uint256\"}],\"name\":\"estimateUpdateBaseFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"lastValidQueryId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"lastValidResponse\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"reporter\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"finality\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"resultTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"resultTallyHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"resultCborBytes\",\"type\":\"bytes\"}],\"internalType\":\"struct WitnetV2.Response\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"latestUpdateQueryId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"latestUpdateRequest\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"gasCallback\",\"type\":\"uint24\"},{\"internalType\":\"uint72\",\"name\":\"evmReward\",\"type\":\"uint72\"},{\"internalType\":\"bytes\",\"name\":\"witnetBytecode\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"witnetRAD\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"witnetSLA\",\"type\":\"tuple\"}],\"internalType\":\"struct WitnetV2.Request\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"latestUpdateResponse\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"reporter\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"finality\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"resultTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"resultTallyHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"resultCborBytes\",\"type\":\"bytes\"}],\"internalType\":\"struct WitnetV2.Response\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"latestUpdateResponseStatus\",\"outputs\":[{\"internalType\":\"enum WitnetV2.ResponseStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"latestUpdateResultError\",\"outputs\":[{\"components\":[{\"internalType\":\"enum Witnet.ResultErrorCodes\",\"name\":\"code\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"internalType\":\"struct Witnet.ResultError\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"lookupWitnetBytecode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"lookupWitnetRadHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"lookupWitnetRetrievals\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"argsCount\",\"type\":\"uint8\"},{\"internalType\":\"enum Witnet.RadonDataRequestMethods\",\"name\":\"method\",\"type\":\"uint8\"},{\"internalType\":\"enum Witnet.RadonDataTypes\",\"name\":\"resultDataType\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"body\",\"type\":\"string\"},{\"internalType\":\"string[2][]\",\"name\":\"headers\",\"type\":\"string[2][]\"},{\"internalType\":\"bytes\",\"name\":\"script\",\"type\":\"bytes\"}],\"internalType\":\"struct Witnet.RadonRetrieval[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contract WitnetRequestBytecodes\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"}],\"name\":\"requestUpdate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"usedFunds\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"feedId\",\"type\":\"bytes4\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"committeeSize\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"witnessingFeeNanoWit\",\"type\":\"uint64\"}],\"internalType\":\"struct WitnetV2.RadonSLA\",\"name\":\"updateSLA\",\"type\":\"tuple\"}],\"name\":\"requestUpdate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"usedFunds\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"witnet\",\"outputs\":[{\"internalType\":\"contract WitnetOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitnetFeeds.sol\":\"IWitnetFeeds\"},\"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/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/interfaces/IWitnetFeeds.sol\":{\"keccak256\":\"0xc25f2a3789b2773cf9adeb42f44a309ac0149b8a17971a0802ad1ce1cfefa211\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5168913fbdada53072e4539b2c2e91e6db2de1fe334ab7968a72075ef8760f3\",\"dweb:/ipfs/QmaBigUMBB2mE7z368RsGdfN2r7y1vJaA3Xe4riLAaAQYY\"]},\"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 \"../WitnetOracle.sol\";\r\nimport \"../WitnetRequestBytecodes.sol\";\r\n\r\ninterface IWitnetFeeds {\r\n\r\n    event WitnetFeedDeleted(bytes4 feedId);\r\n    event WitnetFeedSettled(bytes4 feedId, bytes32 radHash);\r\n    event WitnetFeedSolverSettled(bytes4 feedId, address solver);\r\n    event WitnetRadonSLA(WitnetV2.RadonSLA sla);\r\n    \r\n    event WitnetFeedUpdateRequested(\r\n            address indexed   origin, \r\n            bytes4 indexed    feedId, \r\n            uint256           witnetQueryId, \r\n            uint256           witnetQueryEvmReward, \r\n            WitnetV2.RadonSLA witnetQuerySLA\r\n        );\r\n    \r\n    event WitnetFeedUpdateRequested(\r\n            address indexed origin, \r\n            bytes4 indexed  feedId, \r\n            uint256         witnetQueryId, \r\n            uint256         witnetQueryReward\r\n        );\r\n    \r\n    function dataType() external view returns (Witnet.RadonDataTypes);\r\n    function prefix() external view returns (string memory);\r\n    function registry() external view returns (WitnetRequestBytecodes);\r\n    function witnet() external view returns (WitnetOracle);\r\n    \r\n    function defaultRadonSLA() external view returns (Witnet.RadonSLA memory);\r\n    function estimateUpdateBaseFee(uint256 evmGasPrice) external view returns (uint);\r\n\r\n    function lastValidQueryId(bytes4 feedId) external view returns (uint256);\r\n    function lastValidResponse(bytes4 feedId) external view returns (WitnetV2.Response memory);\r\n\r\n    function latestUpdateQueryId(bytes4 feedId) external view returns (uint256);\r\n    function latestUpdateRequest(bytes4 feedId) external view returns (WitnetV2.Request memory);\r\n    function latestUpdateResponse(bytes4 feedId) external view returns (WitnetV2.Response memory);\r\n    function latestUpdateResponseStatus(bytes4 feedId) external view returns (WitnetV2.ResponseStatus);\r\n    function latestUpdateResultError(bytes4 feedId) external view returns (Witnet.ResultError memory);\r\n    \r\n    function lookupWitnetBytecode(bytes4 feedId) external view returns (bytes memory);\r\n    function lookupWitnetRadHash(bytes4 feedId) external view returns (bytes32);\r\n    function lookupWitnetRetrievals(bytes4 feedId) external view returns (Witnet.RadonRetrieval[] memory);\r\n\r\n    function requestUpdate(bytes4 feedId) external payable returns (uint256 usedFunds);\r\n    function requestUpdate(bytes4 feedId, WitnetV2.RadonSLA calldata updateSLA) external payable returns (uint256 usedFunds);\r\n}",
  "sourcePath": "C:\\Users\\guill\\github\\witnet\\witnet-solidity-bridge\\contracts\\interfaces\\IWitnetFeeds.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/IWitnetFeeds.sol",
    "exportedSymbols": {
      "IWitnetFeeds": [
        13008
      ],
      "IWitnetOracle": [
        13265
      ],
      "IWitnetOracleEvents": [
        13315
      ],
      "IWitnetRequestBytecodes": [
        13979
      ],
      "IWitnetRequestFactory": [
        14002
      ],
      "Witnet": [
        17557
      ],
      "WitnetBuffer": [
        19191
      ],
      "WitnetCBOR": [
        20734
      ],
      "WitnetOracle": [
        749
      ],
      "WitnetRequestBytecodes": [
        849
      ],
      "WitnetRequestFactory": [
        880
      ],
      "WitnetV2": [
        23640
      ]
    },
    "id": 13009,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 12831,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".0",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:31:47"
      },
      {
        "absolutePath": "project:/contracts/WitnetOracle.sol",
        "file": "../WitnetOracle.sol",
        "id": 12832,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 13009,
        "sourceUnit": 750,
        "src": "70:29:47",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "project:/contracts/WitnetRequestBytecodes.sol",
        "file": "../WitnetRequestBytecodes.sol",
        "id": 12833,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 13009,
        "sourceUnit": 850,
        "src": "101:39:47",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IWitnetFeeds",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 13008,
        "linearizedBaseContracts": [
          13008
        ],
        "name": "IWitnetFeeds",
        "nameLocation": "154:12:47",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "eventSelector": "5296cc0e8dad8eeece6ce7d0928746294283b850d6261e03e7028a84de61f0b6",
            "id": 12837,
            "name": "WitnetFeedDeleted",
            "nameLocation": "182:17:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12836,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12835,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "207:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12837,
                  "src": "200:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12834,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "200:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "199:15:47"
            },
            "src": "176:39:47"
          },
          {
            "anonymous": false,
            "eventSelector": "37206f9df7db3fe5c4edfea9c5ce9ea406912fc4133f5c67200273da0c09e7b1",
            "id": 12843,
            "name": "WitnetFeedSettled",
            "nameLocation": "227:17:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12842,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12839,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "252:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12843,
                  "src": "245:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12838,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "245:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12841,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "radHash",
                  "nameLocation": "268:7:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12843,
                  "src": "260:15:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12840,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "260:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "244:32:47"
            },
            "src": "221:56:47"
          },
          {
            "anonymous": false,
            "eventSelector": "850802cc670161a9f185e45414c2fe7efb5e71b23a8e32a53caffb7dd000aca3",
            "id": 12849,
            "name": "WitnetFeedSolverSettled",
            "nameLocation": "289:23:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12848,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12845,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "320:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12849,
                  "src": "313:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12844,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "313:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12847,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "solver",
                  "nameLocation": "336:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12849,
                  "src": "328:14:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12846,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "328:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "312:31:47"
            },
            "src": "283:61:47"
          },
          {
            "anonymous": false,
            "eventSelector": "084efe053ac15af09a2db38bb176035f1d94cbc8a775c7761e662f7f11ae6940",
            "id": 12854,
            "name": "WitnetRadonSLA",
            "nameLocation": "356:14:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12853,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12852,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "sla",
                  "nameLocation": "389:3:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12854,
                  "src": "371:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_RadonSLA_$23503_memory_ptr",
                    "typeString": "struct WitnetV2.RadonSLA"
                  },
                  "typeName": {
                    "id": 12851,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12850,
                      "name": "WitnetV2.RadonSLA",
                      "nameLocations": [
                        "371:8:47",
                        "380:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23503,
                      "src": "371:17:47"
                    },
                    "referencedDeclaration": 23503,
                    "src": "371:17:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_RadonSLA_$23503_storage_ptr",
                      "typeString": "struct WitnetV2.RadonSLA"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "370:23:47"
            },
            "src": "350:44:47"
          },
          {
            "anonymous": false,
            "eventSelector": "009bd781be3a9c4660642983aa92bc7a7484c4b0cb0c2afa0f9174c74061d503",
            "id": 12867,
            "name": "WitnetFeedUpdateRequested",
            "nameLocation": "412:25:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12866,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12856,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "origin",
                  "nameLocation": "470:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12867,
                  "src": "452:24:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12855,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "452:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12858,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "510:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12867,
                  "src": "492:24:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12857,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "492:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12860,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witnetQueryId",
                  "nameLocation": "550:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12867,
                  "src": "532:31:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12859,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "532:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12862,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witnetQueryEvmReward",
                  "nameLocation": "597:20:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12867,
                  "src": "579:38:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12861,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "579:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12865,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witnetQuerySLA",
                  "nameLocation": "651:14:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12867,
                  "src": "633:32:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_RadonSLA_$23503_memory_ptr",
                    "typeString": "struct WitnetV2.RadonSLA"
                  },
                  "typeName": {
                    "id": 12864,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12863,
                      "name": "WitnetV2.RadonSLA",
                      "nameLocations": [
                        "633:8:47",
                        "642:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23503,
                      "src": "633:17:47"
                    },
                    "referencedDeclaration": 23503,
                    "src": "633:17:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_RadonSLA_$23503_storage_ptr",
                      "typeString": "struct WitnetV2.RadonSLA"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "437:239:47"
            },
            "src": "406:271:47"
          },
          {
            "anonymous": false,
            "eventSelector": "c75bbe35e1d3486439c776ccf0fb47aede3d28e1bf548e01357b57132974cd96",
            "id": 12877,
            "name": "WitnetFeedUpdateRequested",
            "nameLocation": "695:25:47",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 12876,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12869,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "origin",
                  "nameLocation": "751:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12877,
                  "src": "735:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 12868,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "735:7:47",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12871,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "789:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12877,
                  "src": "773:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12870,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "773:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12873,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witnetQueryId",
                  "nameLocation": "827:13:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12877,
                  "src": "811:29:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12872,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "811:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 12875,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witnetQueryReward",
                  "nameLocation": "872:17:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12877,
                  "src": "856:33:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12874,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "856:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "720:180:47"
            },
            "src": "689:212:47"
          },
          {
            "functionSelector": "6175ff00",
            "id": 12883,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "dataType",
            "nameLocation": "922:8:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12878,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "930:2:47"
            },
            "returnParameters": {
              "id": 12882,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12881,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12883,
                  "src": "956:21:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_RadonDataTypes_$16432",
                    "typeString": "enum Witnet.RadonDataTypes"
                  },
                  "typeName": {
                    "id": 12880,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12879,
                      "name": "Witnet.RadonDataTypes",
                      "nameLocations": [
                        "956:6:47",
                        "963:14:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 16432,
                      "src": "956:21:47"
                    },
                    "referencedDeclaration": 16432,
                    "src": "956:21:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_RadonDataTypes_$16432",
                      "typeString": "enum Witnet.RadonDataTypes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "955:23:47"
            },
            "scope": 13008,
            "src": "913:66:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "75dadb32",
            "id": 12888,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "prefix",
            "nameLocation": "994:6:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12884,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1000:2:47"
            },
            "returnParameters": {
              "id": 12887,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12886,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12888,
                  "src": "1026:13:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 12885,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1026:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1025:15:47"
            },
            "scope": 13008,
            "src": "985:56:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "7b103999",
            "id": 12894,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "registry",
            "nameLocation": "1056:8:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12889,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1064:2:47"
            },
            "returnParameters": {
              "id": 12893,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12892,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12894,
                  "src": "1090:22:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_WitnetRequestBytecodes_$849",
                    "typeString": "contract WitnetRequestBytecodes"
                  },
                  "typeName": {
                    "id": 12891,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12890,
                      "name": "WitnetRequestBytecodes",
                      "nameLocations": [
                        "1090:22:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 849,
                      "src": "1090:22:47"
                    },
                    "referencedDeclaration": 849,
                    "src": "1090:22:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_WitnetRequestBytecodes_$849",
                      "typeString": "contract WitnetRequestBytecodes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1089:24:47"
            },
            "scope": 13008,
            "src": "1047:67:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "46d1d21a",
            "id": 12900,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "witnet",
            "nameLocation": "1129:6:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12895,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1135:2:47"
            },
            "returnParameters": {
              "id": 12899,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12898,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12900,
                  "src": "1161:12:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_WitnetOracle_$749",
                    "typeString": "contract WitnetOracle"
                  },
                  "typeName": {
                    "id": 12897,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12896,
                      "name": "WitnetOracle",
                      "nameLocations": [
                        "1161:12:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 749,
                      "src": "1161:12:47"
                    },
                    "referencedDeclaration": 749,
                    "src": "1161:12:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_WitnetOracle_$749",
                      "typeString": "contract WitnetOracle"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1160:14:47"
            },
            "scope": 13008,
            "src": "1120:55:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "6d1178e5",
            "id": 12906,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "defaultRadonSLA",
            "nameLocation": "1196:15:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12901,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1211:2:47"
            },
            "returnParameters": {
              "id": 12905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12904,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12906,
                  "src": "1237:22:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_RadonSLA_$16519_memory_ptr",
                    "typeString": "struct Witnet.RadonSLA"
                  },
                  "typeName": {
                    "id": 12903,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12902,
                      "name": "Witnet.RadonSLA",
                      "nameLocations": [
                        "1237:6:47",
                        "1244:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 16519,
                      "src": "1237:15:47"
                    },
                    "referencedDeclaration": 16519,
                    "src": "1237:15:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_RadonSLA_$16519_storage_ptr",
                      "typeString": "struct Witnet.RadonSLA"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1236:24:47"
            },
            "scope": 13008,
            "src": "1187:74:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "c064d372",
            "id": 12913,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "estimateUpdateBaseFee",
            "nameLocation": "1276:21:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12909,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12908,
                  "mutability": "mutable",
                  "name": "evmGasPrice",
                  "nameLocation": "1306:11:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12913,
                  "src": "1298:19:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12907,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1298:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1297:21:47"
            },
            "returnParameters": {
              "id": 12912,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12911,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12913,
                  "src": "1342:4:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12910,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1342:4:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1341:6:47"
            },
            "scope": 13008,
            "src": "1267:81:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "029db958",
            "id": 12920,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "lastValidQueryId",
            "nameLocation": "1365:16:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12916,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12915,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1389:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12920,
                  "src": "1382:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12914,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1382:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1381:15:47"
            },
            "returnParameters": {
              "id": 12919,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12918,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12920,
                  "src": "1420:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12917,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1420:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1419:9:47"
            },
            "scope": 13008,
            "src": "1356:73:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "f9b4a27f",
            "id": 12928,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "lastValidResponse",
            "nameLocation": "1444:17:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12923,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12922,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1469:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12928,
                  "src": "1462:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12921,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1462:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1461:15:47"
            },
            "returnParameters": {
              "id": 12927,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12926,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12928,
                  "src": "1500:24:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Response_$23488_memory_ptr",
                    "typeString": "struct WitnetV2.Response"
                  },
                  "typeName": {
                    "id": 12925,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12924,
                      "name": "WitnetV2.Response",
                      "nameLocations": [
                        "1500:8:47",
                        "1509:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23488,
                      "src": "1500:17:47"
                    },
                    "referencedDeclaration": 23488,
                    "src": "1500:17:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Response_$23488_storage_ptr",
                      "typeString": "struct WitnetV2.Response"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1499:26:47"
            },
            "scope": 13008,
            "src": "1435:91:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "5be93984",
            "id": 12935,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "latestUpdateQueryId",
            "nameLocation": "1543:19:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12931,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12930,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1570:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12935,
                  "src": "1563:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12929,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1563:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1562:15:47"
            },
            "returnParameters": {
              "id": 12934,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12933,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12935,
                  "src": "1601:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12932,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1601:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1600:9:47"
            },
            "scope": 13008,
            "src": "1534:76:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "89a87b16",
            "id": 12943,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "latestUpdateRequest",
            "nameLocation": "1625:19:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12938,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12937,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1652:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12943,
                  "src": "1645:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12936,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1645:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1644:15:47"
            },
            "returnParameters": {
              "id": 12942,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12941,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12943,
                  "src": "1683:23:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Request_$23476_memory_ptr",
                    "typeString": "struct WitnetV2.Request"
                  },
                  "typeName": {
                    "id": 12940,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12939,
                      "name": "WitnetV2.Request",
                      "nameLocations": [
                        "1683:8:47",
                        "1692:7:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23476,
                      "src": "1683:16:47"
                    },
                    "referencedDeclaration": 23476,
                    "src": "1683:16:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Request_$23476_storage_ptr",
                      "typeString": "struct WitnetV2.Request"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1682:25:47"
            },
            "scope": 13008,
            "src": "1616:92:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "d3471e34",
            "id": 12951,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "latestUpdateResponse",
            "nameLocation": "1723:20:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12946,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12945,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1751:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12951,
                  "src": "1744:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12944,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1744:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1743:15:47"
            },
            "returnParameters": {
              "id": 12950,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12949,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12951,
                  "src": "1782:24:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Response_$23488_memory_ptr",
                    "typeString": "struct WitnetV2.Response"
                  },
                  "typeName": {
                    "id": 12948,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12947,
                      "name": "WitnetV2.Response",
                      "nameLocations": [
                        "1782:8:47",
                        "1791:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23488,
                      "src": "1782:17:47"
                    },
                    "referencedDeclaration": 23488,
                    "src": "1782:17:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Response_$23488_storage_ptr",
                      "typeString": "struct WitnetV2.Response"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1781:26:47"
            },
            "scope": 13008,
            "src": "1714:94:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "f14cb812",
            "id": 12959,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "latestUpdateResponseStatus",
            "nameLocation": "1823:26:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12954,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12953,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1857:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12959,
                  "src": "1850:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12952,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1850:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1849:15:47"
            },
            "returnParameters": {
              "id": 12958,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12957,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12959,
                  "src": "1888:23:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ResponseStatus_$23496",
                    "typeString": "enum WitnetV2.ResponseStatus"
                  },
                  "typeName": {
                    "id": 12956,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12955,
                      "name": "WitnetV2.ResponseStatus",
                      "nameLocations": [
                        "1888:8:47",
                        "1897:14:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23496,
                      "src": "1888:23:47"
                    },
                    "referencedDeclaration": 23496,
                    "src": "1888:23:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ResponseStatus_$23496",
                      "typeString": "enum WitnetV2.ResponseStatus"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1887:25:47"
            },
            "scope": 13008,
            "src": "1814:99:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "49492ef1",
            "id": 12967,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "latestUpdateResultError",
            "nameLocation": "1928:23:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12962,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12961,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "1959:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12967,
                  "src": "1952:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12960,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1952:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1951:15:47"
            },
            "returnParameters": {
              "id": 12966,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12965,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12967,
                  "src": "1990:25:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_ResultError_$16055_memory_ptr",
                    "typeString": "struct Witnet.ResultError"
                  },
                  "typeName": {
                    "id": 12964,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 12963,
                      "name": "Witnet.ResultError",
                      "nameLocations": [
                        "1990:6:47",
                        "1997:11:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 16055,
                      "src": "1990:18:47"
                    },
                    "referencedDeclaration": 16055,
                    "src": "1990:18:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_ResultError_$16055_storage_ptr",
                      "typeString": "struct Witnet.ResultError"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1989:27:47"
            },
            "scope": 13008,
            "src": "1919:98:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "4efef9c0",
            "id": 12974,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "lookupWitnetBytecode",
            "nameLocation": "2038:20:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12970,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12969,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "2066:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12974,
                  "src": "2059:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12968,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2059:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2058:15:47"
            },
            "returnParameters": {
              "id": 12973,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12972,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12974,
                  "src": "2097:12:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 12971,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "2097:5:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2096:14:47"
            },
            "scope": 13008,
            "src": "2029:82:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "8df3fdfd",
            "id": 12981,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "lookupWitnetRadHash",
            "nameLocation": "2126:19:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12977,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12976,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "2153:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12981,
                  "src": "2146:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12975,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2146:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2145:15:47"
            },
            "returnParameters": {
              "id": 12980,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12979,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12981,
                  "src": "2184:7:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 12978,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2184:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2183:9:47"
            },
            "scope": 13008,
            "src": "2117:76:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "806d7e8f",
            "id": 12990,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "lookupWitnetRetrievals",
            "nameLocation": "2208:22:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12984,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12983,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "2238:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12990,
                  "src": "2231:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12982,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2231:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2230:15:47"
            },
            "returnParameters": {
              "id": 12989,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12988,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 12990,
                  "src": "2269:30:47",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_RadonRetrieval_$16495_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct Witnet.RadonRetrieval[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 12986,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 12985,
                        "name": "Witnet.RadonRetrieval",
                        "nameLocations": [
                          "2269:6:47",
                          "2276:14:47"
                        ],
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 16495,
                        "src": "2269:21:47"
                      },
                      "referencedDeclaration": 16495,
                      "src": "2269:21:47",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_RadonRetrieval_$16495_storage_ptr",
                        "typeString": "struct Witnet.RadonRetrieval"
                      }
                    },
                    "id": 12987,
                    "nodeType": "ArrayTypeName",
                    "src": "2269:23:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_RadonRetrieval_$16495_storage_$dyn_storage_ptr",
                      "typeString": "struct Witnet.RadonRetrieval[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2268:32:47"
            },
            "scope": 13008,
            "src": "2199:102:47",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "3e088e12",
            "id": 12997,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "requestUpdate",
            "nameLocation": "2318:13:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 12993,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12992,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "2339:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12997,
                  "src": "2332:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12991,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2332:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2331:15:47"
            },
            "returnParameters": {
              "id": 12996,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12995,
                  "mutability": "mutable",
                  "name": "usedFunds",
                  "nameLocation": "2381:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 12997,
                  "src": "2373:17:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 12994,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2373:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2372:19:47"
            },
            "scope": 13008,
            "src": "2309:83:47",
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "abc86c6e",
            "id": 13007,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "requestUpdate",
            "nameLocation": "2407:13:47",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 13003,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 12999,
                  "mutability": "mutable",
                  "name": "feedId",
                  "nameLocation": "2428:6:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 13007,
                  "src": "2421:13:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 12998,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "2421:6:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 13002,
                  "mutability": "mutable",
                  "name": "updateSLA",
                  "nameLocation": "2463:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 13007,
                  "src": "2436:36:47",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_RadonSLA_$23503_calldata_ptr",
                    "typeString": "struct WitnetV2.RadonSLA"
                  },
                  "typeName": {
                    "id": 13001,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 13000,
                      "name": "WitnetV2.RadonSLA",
                      "nameLocations": [
                        "2436:8:47",
                        "2445:8:47"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23503,
                      "src": "2436:17:47"
                    },
                    "referencedDeclaration": 23503,
                    "src": "2436:17:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_RadonSLA_$23503_storage_ptr",
                      "typeString": "struct WitnetV2.RadonSLA"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2420:53:47"
            },
            "returnParameters": {
              "id": 13006,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 13005,
                  "mutability": "mutable",
                  "name": "usedFunds",
                  "nameLocation": "2508:9:47",
                  "nodeType": "VariableDeclaration",
                  "scope": 13007,
                  "src": "2500:17:47",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 13004,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2500:7:47",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2499:19:47"
            },
            "scope": 13008,
            "src": "2398:121:47",
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 13009,
        "src": "144:2378:47",
        "usedErrors": [],
        "usedEvents": [
          12837,
          12843,
          12849,
          12854,
          12867,
          12877
        ]
      }
    ],
    "src": "35:2487:47"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.25+commit.b61c2a91.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2024-12-05T09:36:04.497Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}