{
  "contractName": "OVM_GasPriceOracle",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "_data",
          "type": "bytes"
        }
      ],
      "name": "getL1Fee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"getL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/core/trustable/WitOracleTrustableOvm2.sol\":\"OVM_GasPriceOracle\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08\",\"dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a\",\"dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377\",\"dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"project:/contracts/WitOracle.sol\":{\"keccak256\":\"0x7f20eab15140df459753dfa8e406b826918b56ebe2c46456f9d04345c02629d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0573ce3d48200c71d8235a1a8c055b706420b2037bd21336f3c61713c3b8349\",\"dweb:/ipfs/QmY7BnVaNXFtJs1BFdeaa7dQfvUVoZyfwtv9HuToCxUUHU\"]},\"project:/contracts/WitOraclePushOnly.sol\":{\"keccak256\":\"0x659b4746c5a773b554b7a94bea3f55a995a8f850d750108302a8face9d1c833c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://291c6b4cd5c0f223ee63cc8cee2e228f47e1344a935eb89b6ef8f993eb5ce18e\",\"dweb:/ipfs/QmeKNLaVURv4N5jz5z67WQ4wyUUucqMaYLZQ2NnuuNyyPS\"]},\"project:/contracts/WitOracleRadonRegistry.sol\":{\"keccak256\":\"0xc9bd0ab02e13b36fe4072868ae978a230c5132a702d6594f11270ec5e7926e09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8321305b131abec96c492302163d95f8777106f74a0d42f5f50fdf60d2b3a381\",\"dweb:/ipfs/QmRx7FGWPkC41afPuJpBTDQ85wjH95Dbi3qAxVNfNZUsWe\"]},\"project:/contracts/core/WitnetProxy.sol\":{\"keccak256\":\"0x6f0ec2c544192c9439bde88f5ed4efec5bdef506cb0dcb739c29329a798033fe\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ca05338334632aab3aef3c17a4b8686251ec488da49b9fcd3712642e57e0ce2a\",\"dweb:/ipfs/QmZk1uDdytKFii4TXUnJkFBBB3CZVSPKKR85ugFjWUTufS\"]},\"project:/contracts/core/WitnetUpgradableBase.sol\":{\"keccak256\":\"0x4cea0415b77897e151454ce87c1e20b7dc9f232de72b54a6740c90e076f7e1b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0b803611c3a863ac5806b16e7d2a48b0e062fece262c750d121b5e9e17eb082\",\"dweb:/ipfs/QmVhFt1TkbkZ48jLsN5LgnpzpTdoMbfqGyMSJxjaEqisht\"]},\"project:/contracts/core/base/WitOracleBasePushOnly.sol\":{\"keccak256\":\"0xdf4be00f732674d6a1a83fbb5801571690623a17b7388613af3a3debadf9ce2d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d9b4b8a611ed9186249e30fcaeecc1d7bbda50338e794d5b65865f885f20ec6e\",\"dweb:/ipfs/Qme8xqsdQqdyDuy1DYijquG6LGJHqRzyruZ1MR6hPJCxmY\"]},\"project:/contracts/core/base/WitOracleBaseQueriable.sol\":{\"keccak256\":\"0xed332c1131be86c1b97223e0488488f7091fe84f21b88fd2724cb7c0d91397ae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8c48b617f0696470db8914a6c8627fc6c85ef09794e2d13accbbe73399442bb\",\"dweb:/ipfs/QmVG1wvboCBWGw2Q2Lr7yqTmBNwzspyD3mTMYkZm57WY31\"]},\"project:/contracts/core/base/WitOracleBaseQueriableTrustable.sol\":{\"keccak256\":\"0x16940ffb1a139c2f223ea78c86769a565956116bc6e941d824621f7b2ab0ae91\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c671c1ed610c1d2be08c8d7547f73a6684f17221625a06821fa7652bf4f6b727\",\"dweb:/ipfs/QmUD2v1zin5hYTVg97eszTMBjo1KaPWK4kmS7eA5cQtjZU\"]},\"project:/contracts/core/trustable/WitOracleTrustableOvm2.sol\":{\"keccak256\":\"0x1e3d768d1af81f92c25c75ef68de9f1fd4a4a6eca68a0f66de3603d8eae0c036\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b9fb2992d25023524dfb72c37ae32c149bcc674062d7de652c74ed8d949f123\",\"dweb:/ipfs/QmZEZsXvCzYoAJqhuTtJ6aTTKwr9xh5yvx3qR2jX8Tjbui\"]},\"project:/contracts/data/WitOracleDataLib.sol\":{\"keccak256\":\"0x879c513c3cac839300e954d5ffe61c14eaec3052b39898ec2402068169fddd55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63f58f4aa26e2a174fb5cee2fd9c06a10c337e6766b804e38bb4bbb3c3d4682d\",\"dweb:/ipfs/QmTjS8hws4VAd3S8dpNmX3zyV7oCF7xJ7AZTRJwrmbhSmi\"]},\"project:/contracts/interfaces/IWitAppliance.sol\":{\"keccak256\":\"0xd207ca54a1049445a3d99eea497d9b34c6dbdd44d771eee825e4c031bd2f447e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f81de32d868ff2881ed6fe97cc897e40b4b11d23cbe53a0e23cf3e68f9c0f0a3\",\"dweb:/ipfs/QmeeXmzmK5MAzt7Hf5DB2L81efKtTzZg9VbQ8sUiTqEk5c\"]},\"project:/contracts/interfaces/IWitOracle.sol\":{\"keccak256\":\"0x26cbe2074c0b3f545a46d95fad5e2280b67edcd958e4ae0b88f3a018aa11b805\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5324bac61f65e3edb01c88b9b75ca17affd593be88da5753a93b3f5304d3f479\",\"dweb:/ipfs/QmcVmNV6smbFiPaxvuN8ShkqbDZsT1wfjnF7f3qs6ke7QG\"]},\"project:/contracts/interfaces/IWitOracleAppliance.sol\":{\"keccak256\":\"0xcd8e57eca7f8042c85a83264e2ff6d1cd7a9f1521831736d7f57bcc7800642e6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5c639668e9439d60770b5df77436088ae7bd0aeb1d1be446552a98b6c29138f0\",\"dweb:/ipfs/QmbN3f5YuKMSd2j9tjay3VEkiYibGWpbfbwRNyrxA8k4o4\"]},\"project:/contracts/interfaces/IWitOracleQueriable.sol\":{\"keccak256\":\"0xdb0da1e377a35a7d620f43cb583a876750a52d91da2b888f48042483ad9c4910\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edfcdf3e96ec3c5de7438f82e3d5a1dc9af9eb29080044213dccb26ff978354c\",\"dweb:/ipfs/Qmap2FzSysh2fug88eortbsTM7itFygRzKc9HfV43ePMik\"]},\"project:/contracts/interfaces/IWitOracleQueriableConsumer.sol\":{\"keccak256\":\"0xe8143d2387d674022f453b57652998f53cbe4c21fe35e59421428142355c8ebf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e6c3e3d3e7168a3fb75b1eca23d078d5240e5b02dac8a449d1ddf79256a34d8\",\"dweb:/ipfs/QmbGk4tQzTogTBVYiT8t3Gqtk6qDs5nyp9Z53GryTjKAm5\"]},\"project:/contracts/interfaces/IWitOracleQueriableEvents.sol\":{\"keccak256\":\"0x47c283e931006d35bd2599524f86724e45eae6fad2fdd9cdecd1c85a90ff3f8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3ad0520f99ec9298536ae9434f58caeb470c10dd3eaab1e4c7ed4cae9a97e2a2\",\"dweb:/ipfs/QmSuYCsSPweZfQc5Fbf9jYDdx4u7gwYCUdjhpcrrxmWZy6\"]},\"project:/contracts/interfaces/IWitOracleQueriableExperimental.sol\":{\"keccak256\":\"0x57c0007d813ed3e6dd3e0bb128e6ca7a0324214962823c6456e2e37d78ab4070\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b5edc498ccc728327f1f3c80d2decd7ca64920a3aee4faaba08dd354f1256b66\",\"dweb:/ipfs/QmdEJWUtQqTVdFLCiNKUPSe3NwXzuHmG6XzA1VbHHHgdPy\"]},\"project:/contracts/interfaces/IWitOracleQueriableTrustableReporter.sol\":{\"keccak256\":\"0x043a719845d75dccc3c7c046fdd214bb252ab2b85400fbd139ed5cea9469becc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b1be7cbf990ff4d383b1c0695626af794442f9a48f02e13435793c4316ff011\",\"dweb:/ipfs/QmX3Lq17FMsN2T9K4fAYg6CRTYjwHd6hT1XKjEA2T7QeM5\"]},\"project:/contracts/interfaces/IWitOracleRadonRegistry.sol\":{\"keccak256\":\"0x437bbb89129311bd1cc8f6becd333df46109ec53b24d3159be942b225614071f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ef9bcdf4a73cb126885478c994821b7fe2b87d9221b767b4c9342b89b0d6550a\",\"dweb:/ipfs/QmXzZXPMxjSiFpcEnhg6CjLFNxGCpDZt22xpUh7VHxNTGd\"]},\"project:/contracts/interfaces/IWitOracleRadonRegistryEvents.sol\":{\"keccak256\":\"0x9bd30477aeb33de11c4f1df3cd7451452a90ffed1f6eabd9e643046bf1e60d66\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18fb38c5528ed2e1bf90ff8d123bf5a9523d0dc49f448d6c39ddad1cd9048d0a\",\"dweb:/ipfs/QmQq1RUwFgnGTk3xDAmN6u2WMPBzvjZNJc7TPYtG6aZfRn\"]},\"project:/contracts/interfaces/IWitOracleTrustableAdmin.sol\":{\"keccak256\":\"0x94b69b5a460d1407746ac70d32a0c5d4fca564b16cbd1940b822dd0ecb5336e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a773b9d963647a5591b95c8fb359efd461dc494d1e3a1754cc83343310e07605\",\"dweb:/ipfs/QmU77Zre43r5sVj4DK2FjTda31zWgNDr9sGPug1dRv4ih6\"]},\"project:/contracts/interfaces/legacy/IWitOracleLegacy.sol\":{\"keccak256\":\"0xd2929c9aa5a02d261d6d1a068a6b7231ae58d8f81f081ba89f2d3267a31fbbb5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://956b26323a02cf400c32012586954fc5dbc98b4d5b7a8b0533401cbda8619059\",\"dweb:/ipfs/QmSWdCRwL5t3atFM8osdaohLTqEEmY1FbnR6xrRCmw1GDM\"]},\"project:/contracts/interfaces/legacy/IWitOracleRequest.sol\":{\"keccak256\":\"0x0fb3f0ba03f4f7a0214ecb36df26525564cf51a8a2176cba92c185af8a1d419e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://340b7bdb92c3259519fe120eb3061b393e7a5e9c1b576a2fe4eab020af466b64\",\"dweb:/ipfs/QmRt4wMX9WdxFwfdFMUZ3zKMAW1grS7qLk1x1PDMJdEAVU\"]},\"project:/contracts/interfaces/legacy/IWitOracleRequestTemplate.sol\":{\"keccak256\":\"0x9e065ef5880c64eefff5fcfb1347fde6684e0e311f8c2350a6aefdbd1f8b0f22\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://817de760c7cce9d00dcd4312aea6434d88abddf1c0e68ea7e8fb1e6c5165a445\",\"dweb:/ipfs/QmUNmtn85nFXbje2nRJQY2h65KJCVinDMMU6P2jQmo1Nij\"]},\"project:/contracts/libs/Bech32.sol\":{\"keccak256\":\"0x14618323a0efe7586c20906a2e9cee7ad63baa976ff231c57f7f2d7d3707fb8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a19f05fe84047a7a6d3d6fc39972b432e6e536aa70472386a9d7a6d9aab64a64\",\"dweb:/ipfs/QmcHwUY66yjiotRH4Q3kbRvSzcHyLQ1yHL3KbtQKiMhtZE\"]},\"project:/contracts/libs/Secp256k1.sol\":{\"keccak256\":\"0xbe686002da5004ff39dd70709f3820eba2afe9323ae9cb894009c161e4b1a666\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18fab91775216de0707cea9ad285b10be09127461a13432fea358bf9cb2a0c2e\",\"dweb:/ipfs/QmeRUGsgstnM4hxM9hpkBf3L6cE5btirEaowcMxmuw3utj\"]},\"project:/contracts/libs/WitOracleResultStatusLib.sol\":{\"keccak256\":\"0x9ea0a1a68498957ee7baaae50e078ee845dacd031f129b0a3cbf40cd413f3efb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0836f04c9ed07cb90b54b07b38eb95fba769be0d921e687fe1184d6570ff34e8\",\"dweb:/ipfs/QmPv9g3KGobVdr5bsCv5715V97DmEdTqzz9mhbEZjugqgC\"]},\"project:/contracts/libs/Witnet.sol\":{\"keccak256\":\"0x1d446c3e534e40e676d1763bfb2897fadfac8afed904ab757843d7d6770b0a6c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://338fb1073f17d64e8d31bfe492d9475ce906788ee08e6489ce30413f91dc1328\",\"dweb:/ipfs/QmPe5QX2AGTnQFjse1Xttq4ZYWwYAiXoySb5VUui3PqPhk\"]},\"project:/contracts/libs/WitnetBuffer.sol\":{\"keccak256\":\"0x8e07aebe2954ab3e6f2d8eceedb12db7cf915c1f3e8630f4fa9999cecb1c78ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed6c54cc901183d61546e8fd15bd5ea8ef238ebc915642946071d435dd7481ea\",\"dweb:/ipfs/Qmcaqta7YjUSBbBUGqoh44bsCS6UqqoyHjBuz4qnKBShXM\"]},\"project:/contracts/libs/WitnetCBOR.sol\":{\"keccak256\":\"0xd99308373575cc10fb7f2ceb0f6a8625f3911275c1fa27811fae498d98d03d97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4909a999d7b660a2dc54ca957b6eccfa523e2765fc4d6a2574dee7d5cd67b43\",\"dweb:/ipfs/QmWGQT4KDcfSFe1hcHVoWx6E4PhYMaod5iLpJCWBEeShzh\"]},\"project:/contracts/patterns/Initializable.sol\":{\"keccak256\":\"0xaac470e87f361cf15d68d1618d6eb7d4913885d33ccc39c797841a9591d44296\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ef3760b2039feda8715d4bd9f8de8e3885f25573d12ba92f52d626ba880a08bf\",\"dweb:/ipfs/QmP2mfHPBKkjTAKft95sPDb4PBsjfmAwc47Kdcv3xYSf3g\"]},\"project:/contracts/patterns/Ownable.sol\":{\"keccak256\":\"0x494bda32f9a218d9c33ea82112129c0933ab52f57eabfbf0d14a8742a3370800\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c4cf04ebb052fed9d15cf93ff4523955ee311aa4425ee85f0e80b4489c94e76\",\"dweb:/ipfs/QmfMf4WD7woTaQSTbJxxoan2aXSeY7ovY5NoipSBw5rMPK\"]},\"project:/contracts/patterns/Ownable2Step.sol\":{\"keccak256\":\"0x45ed9d1f98e2a7a5bd1a7040dbd4292f1458fa1cb212d0143718684efa436bd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45d347c5ef492b33dcf3953bb3911fe7160a6c812e69ed84d2511f0847e19229\",\"dweb:/ipfs/QmZp3icE2gQBoJp8KorWC1GfGC8mK29sK9fEveKRMNCY1U\"]},\"project:/contracts/patterns/Payable.sol\":{\"keccak256\":\"0x29ce79b9329cc854ddb0ee546e5a17f3cedafa91c7d614f43e8d6537680b1734\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://00d5ce85f66c3c32b8b69bfed2f07f40d14ac72c2f67d2de6601de0be16b5af1\",\"dweb:/ipfs/QmZogwLRBjFUJVSzR8YuMfo3mKg8WvYVbn2QvWXsCVP92V\"]},\"project:/contracts/patterns/Proxiable.sol\":{\"keccak256\":\"0x86032205378fed9ed2bf155eed8ce4bdbb13b7f5960850c6d50954a38b61a3d8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f89978eda4244a13f42a6092a94ac829bb3e38c92d77d4978b9f32894b187a63\",\"dweb:/ipfs/Qmbc1XaFCvLm3Sxvh7tP29Ug32jBGy3avsCqBGAptxs765\"]},\"project:/contracts/patterns/ReentrancyGuard.sol\":{\"keccak256\":\"0x1470caf4bd78b79f706e28a8a85c95a6e13ec33eda04275e5da84464130831e6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c974fb4dc29718a84f9ab5fa3f8c25c7f889050a38445e16c3ead5ff9d4b4bab\",\"dweb:/ipfs/QmbuGjkSjngbTZMRPijL9p56fP9cK5jMnWsFmvYAQj3qAY\"]},\"project:/contracts/patterns/Upgradeable.sol\":{\"keccak256\":\"0x49d1a83abc7a9b39d224677dde65ead4b7f1104332a94c9e619854b2a6b3a89e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e6a798a953af921a5b4e24e3f78bebae97819a85c90deb12ec505952faa42814\",\"dweb:/ipfs/QmVJhv4x3MXf4aDbMC5Q259K8kZNvxSXzmy8anoow7nS7k\"]}},\"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 \"../base/WitOracleBaseQueriableTrustable.sol\";\r\n\r\n// solhint-disable-next-line\r\ninterface OVM_GasPriceOracle {\r\n    function getL1Fee(bytes calldata _data) external view returns (uint256);\r\n}\r\n\r\n/// @title Queriable WitOracle \"trustable\" implementation contract for OVM2 chains. \r\n/// @author The Witnet Foundation\r\ncontract WitOracleTrustableOvm2\r\n    is \r\n        WitOracleBaseQueriableTrustable\r\n{\r\n    function class() virtual override public view returns (string memory) {\r\n        return type(WitOracleTrustableOvm2).name;\r\n    }\r\n\r\n    constructor(\r\n            EvmImmutables memory _immutables,\r\n            WitOracleRadonRegistry _registry,\r\n            bytes32 _versionTag\r\n        )\r\n        WitOracleBaseQueriable(\r\n            _immutables,\r\n            _registry\r\n        )\r\n        WitOracleBaseQueriableTrustable(_versionTag)\r\n    {\r\n        __gasPriceOracleL1 = OVM_GasPriceOracle(0x420000000000000000000000000000000000000F);\r\n    }\r\n\r\n    OVM_GasPriceOracle immutable internal __gasPriceOracleL1;\r\n\r\n    function _getCurrentL1Fee(uint16 _resultMaxSize) virtual internal view returns (uint256) {\r\n        return __gasPriceOracleL1.getL1Fee(\r\n            abi.encodePacked(\r\n                hex\"06eb2c42000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000ffffffffff00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000ff\",\r\n                _resultMaxBuffer(_resultMaxSize)\r\n            )\r\n        );\r\n    }\r\n\r\n    function _resultMaxBuffer(uint16 _resultMaxSize) private pure returns (bytes memory) {\r\n        unchecked {\r\n            uint256[] memory _buffer = new uint256[](_resultMaxSize / 32);\r\n            for (uint _ix = 0; _ix < _buffer.length; _ix ++) {\r\n                _buffer[_ix] = type(uint256).max;\r\n            }\r\n            return abi.encodePacked(\r\n                _buffer,\r\n                uint256((1 << (_resultMaxSize % 32)) - 1)\r\n            );\r\n        }\r\n    }\r\n\r\n\r\n    // ================================================================================================================\r\n    // --- Overrides 'IWitOracle' -------------------------------------------------------------------------------------\r\n\r\n    /// @notice Estimate the minimum reward required for posting a data request.\r\n    /// @param _evmGasPrice Expected gas price to pay upon posting the data request.\r\n    function estimateBaseFee(uint256 _evmGasPrice)\r\n        public view\r\n        virtual override\r\n        returns (uint256)\r\n    {\r\n        return _getCurrentL1Fee(32) + WitOracleBaseQueriable.estimateBaseFee(_evmGasPrice);\r\n    }\r\n\r\n    /// @notice Estimate the minimum reward required for posting a data request with a callback.\r\n    /// @param _gasPrice Expected gas price to pay upon posting the data request.\r\n    /// @param _callbackGas Maximum gas to be spent when reporting the data request result.\r\n    function estimateBaseFeeWithCallback(uint256 _gasPrice, uint24 _callbackGas)\r\n        public view\r\n        virtual override\r\n        returns (uint256)\r\n    {\r\n        return _getCurrentL1Fee(32) + WitOracleBaseQueriable.estimateBaseFeeWithCallback(_gasPrice, _callbackGas);\r\n    }\r\n\r\n    /// @notice Estimate the extra reward (i.e. over the base fee) to be paid when posting a new\r\n    /// @notice data query in order to avoid getting provable \"too low incentives\" results from\r\n    /// @notice the Wit/Oracle blockchain. \r\n    /// @dev The extra fee gets calculated in proportion to:\r\n    /// @param _evmGasPrice Tentative EVM gas price at the moment the query result is ready.\r\n    /// @param _evmWitPrice Tentative nanoWit price in Wei at the moment the query is solved on the Wit/Oracle blockchain.\r\n    /// @param _querySLA The query SLA data security parameters as required for the Wit/Oracle blockchain. \r\n    function estimateExtraFee(\r\n            uint256 _evmGasPrice, \r\n            uint256 _evmWitPrice, \r\n            Witnet.QuerySLA memory _querySLA\r\n        )\r\n        public view\r\n        virtual override\r\n        returns (uint256)\r\n    {\r\n        return (\r\n            _getCurrentL1Fee(_querySLA.witResultMaxSize)\r\n                + WitOracleBaseQueriable.estimateExtraFee(\r\n                    _evmGasPrice,\r\n                    _evmWitPrice,\r\n                    _querySLA\r\n                )\r\n        );\r\n    }\r\n\r\n\r\n    // ================================================================================================================\r\n    // --- Overrides 'IWitOracleLegacy' -------------------------------------------------------------------------------\r\n\r\n    /// @notice Estimate the minimum reward required for posting a data request.\r\n    /// @dev Underestimates if the size of returned data is greater than `_resultMaxSize`. \r\n    /// @param _gasPrice Expected gas price to pay upon posting the data request.\r\n    /// @param _resultMaxSize Maximum expected size of returned data (in bytes).\r\n    function estimateBaseFee(uint256 _gasPrice, uint16 _resultMaxSize)\r\n        public view \r\n        virtual override\r\n        returns (uint256)\r\n    {\r\n        return _getCurrentL1Fee(_resultMaxSize) + WitOracleBaseQueriableTrustable.estimateBaseFee(_gasPrice, _resultMaxSize);\r\n    }\r\n\r\n\r\n    // ================================================================================================================\r\n    // --- Overrides 'IWitOracleQueriableTrustableReporter' --------------------------------------------------------------------------\r\n\r\n    /// @notice Estimates the actual earnings (or loss), in WEI, that a reporter would get by reporting result to given query,\r\n    /// @notice based on the gas price of the calling transaction. Data requesters should consider upgrading the reward on \r\n    /// @notice queries providing no actual earnings.\r\n    function estimateReportEarnings(\r\n            uint256[] calldata _queryIds, \r\n            bytes calldata _evmMsgData,\r\n            uint256 _evmGasPrice, \r\n            uint256 _evmWitPrice\r\n        )\r\n        external view\r\n        virtual override\r\n        returns (uint256 _revenues, uint256 _expenses)\r\n    {\r\n        for (uint _ix = 0; _ix < _queryIds.length; _ix ++) {\r\n            uint256 _queryId = _queryIds[_ix];\r\n            if (\r\n                getQueryStatus(_queryId) == Witnet.QueryStatus.Posted\r\n            ) {\r\n                WitOracleDataLib.Query storage __query = WitOracleDataLib.seekQuery(_queryId);\r\n                if (__query.request.callbackGas > 0) {\r\n                    _expenses += (\r\n                        WitOracleBaseQueriable.estimateBaseFeeWithCallback(_evmGasPrice, __query.request.callbackGas)\r\n                            + WitOracleBaseQueriable.estimateExtraFee(\r\n                                _evmGasPrice, _evmWitPrice,\r\n                                Witnet.QuerySLA({\r\n                                    witResultMaxSize: uint16(0),\r\n                                    witCommitteeSize: __query.slaParams.witCommitteeSize,\r\n                                    witUnitaryReward: __query.slaParams.witUnitaryReward\r\n                                })\r\n                            )\r\n                    );\r\n                } else {\r\n                    _expenses += (\r\n                        WitOracleBaseQueriable.estimateBaseFee(_evmGasPrice)\r\n                            + WitOracleBaseQueriable.estimateExtraFee(\r\n                                _evmGasPrice, _evmWitPrice,\r\n                                __query.slaParams\r\n                            )\r\n                    );\r\n                }\r\n                _expenses += __query.slaParams.witUnitaryReward * _evmWitPrice;\r\n                _revenues += Witnet.QueryEvmReward.unwrap(__query.reward);\r\n            }\r\n        }\r\n        _expenses += __gasPriceOracleL1.getL1Fee(_evmMsgData);\r\n    }\r\n}\r\n",
  "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\core\\trustable\\WitOracleTrustableOvm2.sol",
  "ast": {
    "absolutePath": "project:/contracts/core/trustable/WitOracleTrustableOvm2.sol",
    "exportedSymbols": {
      "Bech32": [
        31372
      ],
      "Context": [
        523
      ],
      "ERC165": [
        616
      ],
      "IERC165": [
        628
      ],
      "IERC20": [
        493
      ],
      "IWitAppliance": [
        26514
      ],
      "IWitOracle": [
        26581
      ],
      "IWitOracleAppliance": [
        26593
      ],
      "IWitOracleLegacy": [
        28786
      ],
      "IWitOracleQueriable": [
        26795
      ],
      "IWitOracleQueriableConsumer": [
        26815
      ],
      "IWitOracleQueriableEvents": [
        26892
      ],
      "IWitOracleQueriableExperimental": [
        26964
      ],
      "IWitOracleQueriableTrustableReporter": [
        27056
      ],
      "IWitOracleRadonRegistry": [
        27394
      ],
      "IWitOracleRadonRegistryEvents": [
        27414
      ],
      "IWitOracleRequest": [
        28922
      ],
      "IWitOracleRequestTemplate": [
        29115
      ],
      "IWitOracleTrustableAdmin": [
        27628
      ],
      "Initializable": [
        267
      ],
      "OVM_GasPriceOracle": [
        17036
      ],
      "Ownable": [
        415
      ],
      "Ownable2Step": [
        45709
      ],
      "Payable": [
        45766
      ],
      "Proxiable": [
        45810
      ],
      "ReentrancyGuard": [
        592
      ],
      "Secp256k1": [
        32535
      ],
      "Upgradeable": [
        45930
      ],
      "WitOracle": [
        678
      ],
      "WitOracleBasePushOnly": [
        9455
      ],
      "WitOracleBaseQueriable": [
        11059
      ],
      "WitOracleBaseQueriableTrustable": [
        12527
      ],
      "WitOracleDataLib": [
        20110
      ],
      "WitOraclePushOnly": [
        701
      ],
      "WitOracleRadonRegistry": [
        726
      ],
      "WitOracleResultStatusLib": [
        37119
      ],
      "WitOracleTrustableOvm2": [
        17387
      ],
      "Witnet": [
        40741
      ],
      "WitnetBuffer": [
        42631
      ],
      "WitnetCBOR": [
        44174
      ],
      "WitnetProxy": [
        8994
      ],
      "WitnetUpgradableBase": [
        9373
      ]
    },
    "id": 17388,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 17027,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".0",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:31:44"
      },
      {
        "absolutePath": "project:/contracts/core/base/WitOracleBaseQueriableTrustable.sol",
        "file": "../base/WitOracleBaseQueriableTrustable.sol",
        "id": 17028,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 17388,
        "sourceUnit": 12528,
        "src": "70:53:44",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "OVM_GasPriceOracle",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 17036,
        "linearizedBaseContracts": [
          17036
        ],
        "name": "OVM_GasPriceOracle",
        "nameLocation": "167:18:44",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "functionSelector": "49948e0e",
            "id": 17035,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getL1Fee",
            "nameLocation": "202:8:44",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17031,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17030,
                  "mutability": "mutable",
                  "name": "_data",
                  "nameLocation": "226:5:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17035,
                  "src": "211:20:44",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 17029,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "211:5:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "210:22:44"
            },
            "returnParameters": {
              "id": 17034,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17033,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17035,
                  "src": "256:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17032,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "256:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "255:9:44"
            },
            "scope": 17036,
            "src": "193:72:44",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 17388,
        "src": "157:111:44",
        "usedErrors": [],
        "usedEvents": []
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 17038,
              "name": "WitOracleBaseQueriableTrustable",
              "nameLocations": [
                "443:31:44"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 12527,
              "src": "443:31:44"
            },
            "id": 17039,
            "nodeType": "InheritanceSpecifier",
            "src": "443:31:44"
          }
        ],
        "canonicalName": "WitOracleTrustableOvm2",
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 17037,
          "nodeType": "StructuredDocumentation",
          "src": "272:121:44",
          "text": "@title Queriable WitOracle \"trustable\" implementation contract for OVM2 chains. \n @author The Witnet Foundation"
        },
        "fullyImplemented": true,
        "id": 17387,
        "linearizedBaseContracts": [
          17387,
          12527,
          27056,
          28786,
          27628,
          11059,
          678,
          26892,
          26795,
          26581,
          26514,
          45766,
          9373,
          592,
          45930,
          45810,
          267,
          45709,
          415,
          523
        ],
        "name": "WitOracleTrustableOvm2",
        "nameLocation": "402:22:44",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "baseFunctions": [
              26472
            ],
            "body": {
              "id": 17050,
              "nodeType": "Block",
              "src": "553:59:44",
              "statements": [
                {
                  "expression": {
                    "expression": {
                      "arguments": [
                        {
                          "id": 17046,
                          "name": "WitOracleTrustableOvm2",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17387,
                          "src": "576:22:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_WitOracleTrustableOvm2_$17387_$",
                            "typeString": "type(contract WitOracleTrustableOvm2)"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_type$_t_contract$_WitOracleTrustableOvm2_$17387_$",
                            "typeString": "type(contract WitOracleTrustableOvm2)"
                          }
                        ],
                        "id": 17045,
                        "name": "type",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4294967269,
                        "src": "571:4:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                          "typeString": "function () pure"
                        }
                      },
                      "id": 17047,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "571:28:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_magic_meta_type_t_contract$_WitOracleTrustableOvm2_$17387",
                        "typeString": "type(contract WitOracleTrustableOvm2)"
                      }
                    },
                    "id": 17048,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "lValueRequested": false,
                    "memberLocation": "600:4:44",
                    "memberName": "name",
                    "nodeType": "MemberAccess",
                    "src": "571:33:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_memory_ptr",
                      "typeString": "string memory"
                    }
                  },
                  "functionReturnParameters": 17044,
                  "id": 17049,
                  "nodeType": "Return",
                  "src": "564:40:44"
                }
              ]
            },
            "functionSelector": "bff852fa",
            "id": 17051,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "class",
            "nameLocation": "492:5:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17041,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "508:8:44"
            },
            "parameters": {
              "id": 17040,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "497:2:44"
            },
            "returnParameters": {
              "id": 17044,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17043,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17051,
                  "src": "538:13:44",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 17042,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "538:6:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "537:15:44"
            },
            "scope": 17387,
            "src": "483:129:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17075,
              "nodeType": "Block",
              "src": "923:102:44",
              "statements": [
                {
                  "expression": {
                    "id": 17073,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17069,
                      "name": "__gasPriceOracleL1",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17079,
                      "src": "934:18:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                        "typeString": "contract OVM_GasPriceOracle"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "hexValue": "307834323030303030303030303030303030303030303030303030303030303030303030303030303046",
                          "id": 17071,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "974:42:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          "value": "0x420000000000000000000000000000000000000F"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 17070,
                        "name": "OVM_GasPriceOracle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17036,
                        "src": "955:18:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_OVM_GasPriceOracle_$17036_$",
                          "typeString": "type(contract OVM_GasPriceOracle)"
                        }
                      },
                      "id": 17072,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "955:62:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                        "typeString": "contract OVM_GasPriceOracle"
                      }
                    },
                    "src": "934:83:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                      "typeString": "contract OVM_GasPriceOracle"
                    }
                  },
                  "id": 17074,
                  "nodeType": "ExpressionStatement",
                  "src": "934:83:44"
                }
              ]
            },
            "id": 17076,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 17062,
                    "name": "_immutables",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 17054,
                    "src": "817:11:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_EvmImmutables_$10220_memory_ptr",
                      "typeString": "struct WitOracleBaseQueriable.EvmImmutables memory"
                    }
                  },
                  {
                    "id": 17063,
                    "name": "_registry",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 17057,
                    "src": "843:9:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_WitOracleRadonRegistry_$726",
                      "typeString": "contract WitOracleRadonRegistry"
                    }
                  }
                ],
                "id": 17064,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 17061,
                  "name": "WitOracleBaseQueriable",
                  "nameLocations": [
                    "780:22:44"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 11059,
                  "src": "780:22:44"
                },
                "nodeType": "ModifierInvocation",
                "src": "780:83:44"
              },
              {
                "arguments": [
                  {
                    "id": 17066,
                    "name": "_versionTag",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 17059,
                    "src": "905:11:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 17067,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 17065,
                  "name": "WitOracleBaseQueriableTrustable",
                  "nameLocations": [
                    "873:31:44"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 12527,
                  "src": "873:31:44"
                },
                "nodeType": "ModifierInvocation",
                "src": "873:44:44"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17060,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17054,
                  "mutability": "mutable",
                  "name": "_immutables",
                  "nameLocation": "667:11:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17076,
                  "src": "646:32:44",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_EvmImmutables_$10220_memory_ptr",
                    "typeString": "struct WitOracleBaseQueriable.EvmImmutables"
                  },
                  "typeName": {
                    "id": 17053,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17052,
                      "name": "EvmImmutables",
                      "nameLocations": [
                        "646:13:44"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 10220,
                      "src": "646:13:44"
                    },
                    "referencedDeclaration": 10220,
                    "src": "646:13:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_EvmImmutables_$10220_storage_ptr",
                      "typeString": "struct WitOracleBaseQueriable.EvmImmutables"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17057,
                  "mutability": "mutable",
                  "name": "_registry",
                  "nameLocation": "716:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17076,
                  "src": "693:32:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_WitOracleRadonRegistry_$726",
                    "typeString": "contract WitOracleRadonRegistry"
                  },
                  "typeName": {
                    "id": 17056,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17055,
                      "name": "WitOracleRadonRegistry",
                      "nameLocations": [
                        "693:22:44"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 726,
                      "src": "693:22:44"
                    },
                    "referencedDeclaration": 726,
                    "src": "693:22:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_WitOracleRadonRegistry_$726",
                      "typeString": "contract WitOracleRadonRegistry"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17059,
                  "mutability": "mutable",
                  "name": "_versionTag",
                  "nameLocation": "748:11:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17076,
                  "src": "740:19:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 17058,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "740:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "631:139:44"
            },
            "returnParameters": {
              "id": 17068,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "923:0:44"
            },
            "scope": 17387,
            "src": "620:405:44",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 17079,
            "mutability": "immutable",
            "name": "__gasPriceOracleL1",
            "nameLocation": "1071:18:44",
            "nodeType": "VariableDeclaration",
            "scope": 17387,
            "src": "1033:56:44",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
              "typeString": "contract OVM_GasPriceOracle"
            },
            "typeName": {
              "id": 17078,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 17077,
                "name": "OVM_GasPriceOracle",
                "nameLocations": [
                  "1033:18:44"
                ],
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 17036,
                "src": "1033:18:44"
              },
              "referencedDeclaration": 17036,
              "src": "1033:18:44",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                "typeString": "contract OVM_GasPriceOracle"
              }
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 17097,
              "nodeType": "Block",
              "src": "1187:707:44",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "06eb2c42000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000ffffffffff00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000ff",
                            "id": 17090,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "hexString",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "1282:527:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_a3d2fbc1dacd26016777974249679186cfba06247b2ee668f7780fc4977b2c2e",
                              "typeString": "literal_string hex\"06eb2c42000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000ffffffffff00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000ff\""
                            }
                          },
                          {
                            "arguments": [
                              {
                                "id": 17092,
                                "name": "_resultMaxSize",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17081,
                                "src": "1845:14:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                }
                              ],
                              "id": 17091,
                              "name": "_resultMaxBuffer",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17160,
                              "src": "1828:16:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint16_$returns$_t_bytes_memory_ptr_$",
                                "typeString": "function (uint16) pure returns (bytes memory)"
                              }
                            },
                            "id": 17093,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "nameLocations": [],
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1828:32:44",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_a3d2fbc1dacd26016777974249679186cfba06247b2ee668f7780fc4977b2c2e",
                              "typeString": "literal_string hex\"06eb2c42000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000ffffffffff00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000ff\""
                            },
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "expression": {
                            "id": 17088,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 4294967295,
                            "src": "1247:3:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 17089,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberLocation": "1251:12:44",
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "src": "1247:16:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 17094,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "nameLocations": [],
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1247:628:44",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "expression": {
                        "id": 17086,
                        "name": "__gasPriceOracleL1",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17079,
                        "src": "1205:18:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                          "typeString": "contract OVM_GasPriceOracle"
                        }
                      },
                      "id": 17087,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberLocation": "1224:8:44",
                      "memberName": "getL1Fee",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 17035,
                      "src": "1205:27:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                        "typeString": "function (bytes memory) view external returns (uint256)"
                      }
                    },
                    "id": 17095,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "nameLocations": [],
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1205:681:44",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17085,
                  "id": 17096,
                  "nodeType": "Return",
                  "src": "1198:688:44"
                }
              ]
            },
            "id": 17098,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getCurrentL1Fee",
            "nameLocation": "1107:16:44",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17082,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17081,
                  "mutability": "mutable",
                  "name": "_resultMaxSize",
                  "nameLocation": "1131:14:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17098,
                  "src": "1124:21:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 17080,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1124:6:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1123:23:44"
            },
            "returnParameters": {
              "id": 17085,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17084,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17098,
                  "src": "1178:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17083,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1178:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1177:9:44"
            },
            "scope": 17387,
            "src": "1098:796:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 17159,
              "nodeType": "Block",
              "src": "1987:385:44",
              "statements": [
                {
                  "id": 17158,
                  "nodeType": "UncheckedBlock",
                  "src": "1998:367:44",
                  "statements": [
                    {
                      "assignments": [
                        17109
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 17109,
                          "mutability": "mutable",
                          "name": "_buffer",
                          "nameLocation": "2040:7:44",
                          "nodeType": "VariableDeclaration",
                          "scope": 17158,
                          "src": "2023:24:44",
                          "stateVariable": false,
                          "storageLocation": "memory",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                            "typeString": "uint256[]"
                          },
                          "typeName": {
                            "baseType": {
                              "id": 17107,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "2023:7:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 17108,
                            "nodeType": "ArrayTypeName",
                            "src": "2023:9:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                              "typeString": "uint256[]"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 17117,
                      "initialValue": {
                        "arguments": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            "id": 17115,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 17113,
                              "name": "_resultMaxSize",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17100,
                              "src": "2064:14:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "/",
                            "rightExpression": {
                              "hexValue": "3332",
                              "id": 17114,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2081:2:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_32_by_1",
                                "typeString": "int_const 32"
                              },
                              "value": "32"
                            },
                            "src": "2064:19:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          ],
                          "id": 17112,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "NewExpression",
                          "src": "2050:13:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$",
                            "typeString": "function (uint256) pure returns (uint256[] memory)"
                          },
                          "typeName": {
                            "baseType": {
                              "id": 17110,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "2054:7:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 17111,
                            "nodeType": "ArrayTypeName",
                            "src": "2054:9:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                              "typeString": "uint256[]"
                            }
                          }
                        },
                        "id": 17116,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "nameLocations": [],
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2050:34:44",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                          "typeString": "uint256[] memory"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "2023:61:44"
                    },
                    {
                      "body": {
                        "id": 17139,
                        "nodeType": "Block",
                        "src": "2148:67:44",
                        "statements": [
                          {
                            "expression": {
                              "id": 17137,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "baseExpression": {
                                  "id": 17129,
                                  "name": "_buffer",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17109,
                                  "src": "2167:7:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                                    "typeString": "uint256[] memory"
                                  }
                                },
                                "id": 17131,
                                "indexExpression": {
                                  "id": 17130,
                                  "name": "_ix",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17119,
                                  "src": "2175:3:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": true,
                                "nodeType": "IndexAccess",
                                "src": "2167:12:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "expression": {
                                  "arguments": [
                                    {
                                      "id": 17134,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "lValueRequested": false,
                                      "nodeType": "ElementaryTypeNameExpression",
                                      "src": "2187:7:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_uint256_$",
                                        "typeString": "type(uint256)"
                                      },
                                      "typeName": {
                                        "id": 17133,
                                        "name": "uint256",
                                        "nodeType": "ElementaryTypeName",
                                        "src": "2187:7:44",
                                        "typeDescriptions": {}
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_type$_t_uint256_$",
                                        "typeString": "type(uint256)"
                                      }
                                    ],
                                    "id": 17132,
                                    "name": "type",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 4294967269,
                                    "src": "2182:4:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                      "typeString": "function () pure"
                                    }
                                  },
                                  "id": 17135,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "nameLocations": [],
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "2182:13:44",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_meta_type_t_uint256",
                                    "typeString": "type(uint256)"
                                  }
                                },
                                "id": 17136,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "memberLocation": "2196:3:44",
                                "memberName": "max",
                                "nodeType": "MemberAccess",
                                "src": "2182:17:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "2167:32:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 17138,
                            "nodeType": "ExpressionStatement",
                            "src": "2167:32:44"
                          }
                        ]
                      },
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 17125,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 17122,
                          "name": "_ix",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17119,
                          "src": "2118:3:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<",
                        "rightExpression": {
                          "expression": {
                            "id": 17123,
                            "name": "_buffer",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17109,
                            "src": "2124:7:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          "id": 17124,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberLocation": "2132:6:44",
                          "memberName": "length",
                          "nodeType": "MemberAccess",
                          "src": "2124:14:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "2118:20:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 17140,
                      "initializationExpression": {
                        "assignments": [
                          17119
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 17119,
                            "mutability": "mutable",
                            "name": "_ix",
                            "nameLocation": "2109:3:44",
                            "nodeType": "VariableDeclaration",
                            "scope": 17140,
                            "src": "2104:8:44",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 17118,
                              "name": "uint",
                              "nodeType": "ElementaryTypeName",
                              "src": "2104:4:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 17121,
                        "initialValue": {
                          "hexValue": "30",
                          "id": 17120,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2115:1:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2104:12:44"
                      },
                      "isSimpleCounterLoop": true,
                      "loopExpression": {
                        "expression": {
                          "id": 17127,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "UnaryOperation",
                          "operator": "++",
                          "prefix": false,
                          "src": "2140:6:44",
                          "subExpression": {
                            "id": 17126,
                            "name": "_ix",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17119,
                            "src": "2140:3:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 17128,
                        "nodeType": "ExpressionStatement",
                        "src": "2140:6:44"
                      },
                      "nodeType": "ForStatement",
                      "src": "2099:116:44"
                    },
                    {
                      "expression": {
                        "arguments": [
                          {
                            "id": 17143,
                            "name": "_buffer",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17109,
                            "src": "2271:7:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          {
                            "arguments": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 17154,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "components": [
                                    {
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 17151,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "hexValue": "31",
                                        "id": 17146,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "number",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "2306:1:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_rational_1_by_1",
                                          "typeString": "int_const 1"
                                        },
                                        "value": "1"
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "<<",
                                      "rightExpression": {
                                        "components": [
                                          {
                                            "commonType": {
                                              "typeIdentifier": "t_uint16",
                                              "typeString": "uint16"
                                            },
                                            "id": 17149,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "id": 17147,
                                              "name": "_resultMaxSize",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 17100,
                                              "src": "2312:14:44",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint16",
                                                "typeString": "uint16"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "%",
                                            "rightExpression": {
                                              "hexValue": "3332",
                                              "id": 17148,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "kind": "number",
                                              "lValueRequested": false,
                                              "nodeType": "Literal",
                                              "src": "2329:2:44",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_rational_32_by_1",
                                                "typeString": "int_const 32"
                                              },
                                              "value": "32"
                                            },
                                            "src": "2312:19:44",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint16",
                                              "typeString": "uint16"
                                            }
                                          }
                                        ],
                                        "id": 17150,
                                        "isConstant": false,
                                        "isInlineArray": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "TupleExpression",
                                        "src": "2311:21:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint16",
                                          "typeString": "uint16"
                                        }
                                      },
                                      "src": "2306:26:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 17152,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "2305:28:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "-",
                                "rightExpression": {
                                  "hexValue": "31",
                                  "id": 17153,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "2336:1:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "src": "2305:32:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 17145,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "2297:7:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_uint256_$",
                                "typeString": "type(uint256)"
                              },
                              "typeName": {
                                "id": 17144,
                                "name": "uint256",
                                "nodeType": "ElementaryTypeName",
                                "src": "2297:7:44",
                                "typeDescriptions": {}
                              }
                            },
                            "id": 17155,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "nameLocations": [],
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "2297:41:44",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 17141,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 4294967295,
                            "src": "2236:3:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 17142,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberLocation": "2240:12:44",
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "src": "2236:16:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 17156,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "nameLocations": [],
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2236:117:44",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      },
                      "functionReturnParameters": 17104,
                      "id": 17157,
                      "nodeType": "Return",
                      "src": "2229:124:44"
                    }
                  ]
                }
              ]
            },
            "id": 17160,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_resultMaxBuffer",
            "nameLocation": "1911:16:44",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17101,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17100,
                  "mutability": "mutable",
                  "name": "_resultMaxSize",
                  "nameLocation": "1935:14:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17160,
                  "src": "1928:21:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 17099,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "1928:6:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1927:23:44"
            },
            "returnParameters": {
              "id": 17104,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17103,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17160,
                  "src": "1973:12:44",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 17102,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1973:5:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1972:14:44"
            },
            "scope": 17387,
            "src": "1902:470:44",
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "private"
          },
          {
            "baseFunctions": [
              10356
            ],
            "body": {
              "id": 17178,
              "nodeType": "Block",
              "src": "2920:101:44",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17176,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "hexValue": "3332",
                          "id": 17170,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2955:2:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_32_by_1",
                            "typeString": "int_const 32"
                          },
                          "value": "32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_32_by_1",
                            "typeString": "int_const 32"
                          }
                        ],
                        "id": 17169,
                        "name": "_getCurrentL1Fee",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17098,
                        "src": "2938:16:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint16_$returns$_t_uint256_$",
                          "typeString": "function (uint16) view returns (uint256)"
                        }
                      },
                      "id": 17171,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2938:20:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "+",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 17174,
                          "name": "_evmGasPrice",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17163,
                          "src": "3000:12:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 17172,
                          "name": "WitOracleBaseQueriable",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 11059,
                          "src": "2961:22:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                            "typeString": "type(contract WitOracleBaseQueriable)"
                          }
                        },
                        "id": 17173,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "2984:15:44",
                        "memberName": "estimateBaseFee",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10356,
                        "src": "2961:38:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256) view returns (uint256)"
                        }
                      },
                      "id": 17175,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2961:52:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2938:75:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17168,
                  "id": 17177,
                  "nodeType": "Return",
                  "src": "2931:82:44"
                }
              ]
            },
            "documentation": {
              "id": 17161,
              "nodeType": "StructuredDocumentation",
              "src": "2626:162:44",
              "text": "@notice Estimate the minimum reward required for posting a data request.\n @param _evmGasPrice Expected gas price to pay upon posting the data request."
            },
            "functionSelector": "39a8653e",
            "id": 17179,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "estimateBaseFee",
            "nameLocation": "2803:15:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17165,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2879:8:44"
            },
            "parameters": {
              "id": 17164,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17163,
                  "mutability": "mutable",
                  "name": "_evmGasPrice",
                  "nameLocation": "2827:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17179,
                  "src": "2819:20:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17162,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2819:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2818:22:44"
            },
            "returnParameters": {
              "id": 17168,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17167,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17179,
                  "src": "2906:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17166,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2906:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2905:9:44"
            },
            "scope": 17387,
            "src": "2794:227:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              10402
            ],
            "body": {
              "id": 17200,
              "nodeType": "Block",
              "src": "3459:124:44",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17198,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "hexValue": "3332",
                          "id": 17191,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3494:2:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_32_by_1",
                            "typeString": "int_const 32"
                          },
                          "value": "32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_rational_32_by_1",
                            "typeString": "int_const 32"
                          }
                        ],
                        "id": 17190,
                        "name": "_getCurrentL1Fee",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17098,
                        "src": "3477:16:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint16_$returns$_t_uint256_$",
                          "typeString": "function (uint16) view returns (uint256)"
                        }
                      },
                      "id": 17192,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3477:20:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "+",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 17195,
                          "name": "_gasPrice",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17182,
                          "src": "3551:9:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17196,
                          "name": "_callbackGas",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17184,
                          "src": "3562:12:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint24",
                            "typeString": "uint24"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint24",
                            "typeString": "uint24"
                          }
                        ],
                        "expression": {
                          "id": 17193,
                          "name": "WitOracleBaseQueriable",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 11059,
                          "src": "3500:22:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                            "typeString": "type(contract WitOracleBaseQueriable)"
                          }
                        },
                        "id": 17194,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "3523:27:44",
                        "memberName": "estimateBaseFeeWithCallback",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 10402,
                        "src": "3500:50:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint24_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint24) view returns (uint256)"
                        }
                      },
                      "id": 17197,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3500:75:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "3477:98:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17189,
                  "id": 17199,
                  "nodeType": "Return",
                  "src": "3470:105:44"
                }
              ]
            },
            "documentation": {
              "id": 17180,
              "nodeType": "StructuredDocumentation",
              "src": "3029:268:44",
              "text": "@notice Estimate the minimum reward required for posting a data request with a callback.\n @param _gasPrice Expected gas price to pay upon posting the data request.\n @param _callbackGas Maximum gas to be spent when reporting the data request result."
            },
            "functionSelector": "05e742ef",
            "id": 17201,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "estimateBaseFeeWithCallback",
            "nameLocation": "3312:27:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17186,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3418:8:44"
            },
            "parameters": {
              "id": 17185,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17182,
                  "mutability": "mutable",
                  "name": "_gasPrice",
                  "nameLocation": "3348:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17201,
                  "src": "3340:17:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17181,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3340:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17184,
                  "mutability": "mutable",
                  "name": "_callbackGas",
                  "nameLocation": "3366:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17201,
                  "src": "3359:19:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint24",
                    "typeString": "uint24"
                  },
                  "typeName": {
                    "id": 17183,
                    "name": "uint24",
                    "nodeType": "ElementaryTypeName",
                    "src": "3359:6:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint24",
                      "typeString": "uint24"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3339:40:44"
            },
            "returnParameters": {
              "id": 17189,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17188,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17201,
                  "src": "3445:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17187,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3445:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3444:9:44"
            },
            "scope": 17387,
            "src": "3303:280:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              10443
            ],
            "body": {
              "id": 17228,
              "nodeType": "Block",
              "src": "4455:276:44",
              "statements": [
                {
                  "expression": {
                    "components": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 17225,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 17216,
                                "name": "_querySLA",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17209,
                                "src": "4505:9:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                                  "typeString": "struct Witnet.QuerySLA memory"
                                }
                              },
                              "id": 17217,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberLocation": "4515:16:44",
                              "memberName": "witResultMaxSize",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 37368,
                              "src": "4505:26:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            ],
                            "id": 17215,
                            "name": "_getCurrentL1Fee",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17098,
                            "src": "4488:16:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_uint16_$returns$_t_uint256_$",
                              "typeString": "function (uint16) view returns (uint256)"
                            }
                          },
                          "id": 17218,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "nameLocations": [],
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4488:44:44",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 17221,
                              "name": "_evmGasPrice",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17204,
                              "src": "4614:12:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 17222,
                              "name": "_evmWitPrice",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17206,
                              "src": "4649:12:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 17223,
                              "name": "_querySLA",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 17209,
                              "src": "4684:9:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                                "typeString": "struct Witnet.QuerySLA memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                                "typeString": "struct Witnet.QuerySLA memory"
                              }
                            ],
                            "expression": {
                              "id": 17219,
                              "name": "WitOracleBaseQueriable",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 11059,
                              "src": "4552:22:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                                "typeString": "type(contract WitOracleBaseQueriable)"
                              }
                            },
                            "id": 17220,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberLocation": "4575:16:44",
                            "memberName": "estimateExtraFee",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 10443,
                            "src": "4552:39:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_struct$_QuerySLA_$37373_memory_ptr_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256,struct Witnet.QuerySLA memory) view returns (uint256)"
                            }
                          },
                          "id": 17224,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "nameLocations": [],
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4552:160:44",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "4488:224:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "id": 17226,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4473:250:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17214,
                  "id": 17227,
                  "nodeType": "Return",
                  "src": "4466:257:44"
                }
              ]
            },
            "documentation": {
              "id": 17202,
              "nodeType": "StructuredDocumentation",
              "src": "3591:623:44",
              "text": "@notice Estimate the extra reward (i.e. over the base fee) to be paid when posting a new\n @notice data query in order to avoid getting provable \"too low incentives\" results from\n @notice the Wit/Oracle blockchain. \n @dev The extra fee gets calculated in proportion to:\n @param _evmGasPrice Tentative EVM gas price at the moment the query result is ready.\n @param _evmWitPrice Tentative nanoWit price in Wei at the moment the query is solved on the Wit/Oracle blockchain.\n @param _querySLA The query SLA data security parameters as required for the Wit/Oracle blockchain. "
            },
            "functionSelector": "d0a92a08",
            "id": 17229,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "estimateExtraFee",
            "nameLocation": "4229:16:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17211,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4414:8:44"
            },
            "parameters": {
              "id": 17210,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17204,
                  "mutability": "mutable",
                  "name": "_evmGasPrice",
                  "nameLocation": "4268:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17229,
                  "src": "4260:20:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17203,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4260:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17206,
                  "mutability": "mutable",
                  "name": "_evmWitPrice",
                  "nameLocation": "4304:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17229,
                  "src": "4296:20:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17205,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4296:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17209,
                  "mutability": "mutable",
                  "name": "_querySLA",
                  "nameLocation": "4355:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17229,
                  "src": "4332:32:44",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                    "typeString": "struct Witnet.QuerySLA"
                  },
                  "typeName": {
                    "id": 17208,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 17207,
                      "name": "Witnet.QuerySLA",
                      "nameLocations": [
                        "4332:6:44",
                        "4339:8:44"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 37373,
                      "src": "4332:15:44"
                    },
                    "referencedDeclaration": 37373,
                    "src": "4332:15:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_QuerySLA_$37373_storage_ptr",
                      "typeString": "struct Witnet.QuerySLA"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4245:130:44"
            },
            "returnParameters": {
              "id": 17214,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17213,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17229,
                  "src": "4441:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17212,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4441:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4440:9:44"
            },
            "scope": 17387,
            "src": "4220:511:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              11358
            ],
            "body": {
              "id": 17250,
              "nodeType": "Block",
              "src": "5472:135:44",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17248,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "arguments": [
                        {
                          "id": 17241,
                          "name": "_resultMaxSize",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17234,
                          "src": "5507:14:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        ],
                        "id": 17240,
                        "name": "_getCurrentL1Fee",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17098,
                        "src": "5490:16:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint16_$returns$_t_uint256_$",
                          "typeString": "function (uint16) view returns (uint256)"
                        }
                      },
                      "id": 17242,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5490:32:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "+",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 17245,
                          "name": "_gasPrice",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17232,
                          "src": "5573:9:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 17246,
                          "name": "_resultMaxSize",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17234,
                          "src": "5584:14:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        ],
                        "expression": {
                          "id": 17243,
                          "name": "WitOracleBaseQueriableTrustable",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 12527,
                          "src": "5525:31:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriableTrustable_$12527_$",
                            "typeString": "type(contract WitOracleBaseQueriableTrustable)"
                          }
                        },
                        "id": 17244,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "5557:15:44",
                        "memberName": "estimateBaseFee",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 11358,
                        "src": "5525:47:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint16_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint16) view returns (uint256)"
                        }
                      },
                      "id": 17247,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "5525:74:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "5490:109:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 17239,
                  "id": 17249,
                  "nodeType": "Return",
                  "src": "5483:116:44"
                }
              ]
            },
            "documentation": {
              "id": 17230,
              "nodeType": "StructuredDocumentation",
              "src": "4985:334:44",
              "text": "@notice Estimate the minimum reward required for posting a data request.\n @dev Underestimates if the size of returned data is greater than `_resultMaxSize`. \n @param _gasPrice Expected gas price to pay upon posting the data request.\n @param _resultMaxSize Maximum expected size of returned data (in bytes)."
            },
            "functionSelector": "7bd88218",
            "id": 17251,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "estimateBaseFee",
            "nameLocation": "5334:15:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17236,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5431:8:44"
            },
            "parameters": {
              "id": 17235,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17232,
                  "mutability": "mutable",
                  "name": "_gasPrice",
                  "nameLocation": "5358:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17251,
                  "src": "5350:17:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17231,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5350:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17234,
                  "mutability": "mutable",
                  "name": "_resultMaxSize",
                  "nameLocation": "5376:14:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17251,
                  "src": "5369:21:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint16",
                    "typeString": "uint16"
                  },
                  "typeName": {
                    "id": 17233,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "5369:6:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5349:42:44"
            },
            "returnParameters": {
              "id": 17239,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17238,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 17251,
                  "src": "5458:7:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17237,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5458:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5457:9:44"
            },
            "scope": 17387,
            "src": "5325:282:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              12122
            ],
            "body": {
              "id": 17385,
              "nodeType": "Block",
              "src": "6493:1698:44",
              "statements": [
                {
                  "body": {
                    "id": 17376,
                    "nodeType": "Block",
                    "src": "6555:1565:44",
                    "statements": [
                      {
                        "assignments": [
                          17281
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 17281,
                            "mutability": "mutable",
                            "name": "_queryId",
                            "nameLocation": "6578:8:44",
                            "nodeType": "VariableDeclaration",
                            "scope": 17376,
                            "src": "6570:16:44",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 17280,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "6570:7:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 17285,
                        "initialValue": {
                          "baseExpression": {
                            "id": 17282,
                            "name": "_queryIds",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17255,
                            "src": "6589:9:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                              "typeString": "uint256[] calldata"
                            }
                          },
                          "id": 17284,
                          "indexExpression": {
                            "id": 17283,
                            "name": "_ix",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17270,
                            "src": "6599:3:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "6589:14:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "6570:33:44"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_enum$_QueryStatus_$37335",
                            "typeString": "enum Witnet.QueryStatus"
                          },
                          "id": 17292,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "arguments": [
                              {
                                "id": 17287,
                                "name": "_queryId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 17281,
                                "src": "6655:8:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 17286,
                              "name": "getQueryStatus",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [
                                11293
                              ],
                              "referencedDeclaration": 11293,
                              "src": "6640:14:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_enum$_QueryStatus_$37335_$",
                                "typeString": "function (uint256) view returns (enum Witnet.QueryStatus)"
                              }
                            },
                            "id": 17288,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "nameLocations": [],
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "6640:24:44",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_enum$_QueryStatus_$37335",
                              "typeString": "enum Witnet.QueryStatus"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "expression": {
                              "expression": {
                                "id": 17289,
                                "name": "Witnet",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 40741,
                                "src": "6668:6:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_Witnet_$40741_$",
                                  "typeString": "type(library Witnet)"
                                }
                              },
                              "id": 17290,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberLocation": "6675:11:44",
                              "memberName": "QueryStatus",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 37335,
                              "src": "6668:18:44",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_enum$_QueryStatus_$37335_$",
                                "typeString": "type(enum Witnet.QueryStatus)"
                              }
                            },
                            "id": 17291,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "memberLocation": "6687:6:44",
                            "memberName": "Posted",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 37329,
                            "src": "6668:25:44",
                            "typeDescriptions": {
                              "typeIdentifier": "t_enum$_QueryStatus_$37335",
                              "typeString": "enum Witnet.QueryStatus"
                            }
                          },
                          "src": "6640:53:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 17375,
                        "nodeType": "IfStatement",
                        "src": "6618:1491:44",
                        "trueBody": {
                          "id": 17374,
                          "nodeType": "Block",
                          "src": "6709:1400:44",
                          "statements": [
                            {
                              "assignments": [
                                17297
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 17297,
                                  "mutability": "mutable",
                                  "name": "__query",
                                  "nameLocation": "6759:7:44",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 17374,
                                  "src": "6728:38:44",
                                  "stateVariable": false,
                                  "storageLocation": "storage",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                    "typeString": "struct WitOracleDataLib.Query"
                                  },
                                  "typeName": {
                                    "id": 17296,
                                    "nodeType": "UserDefinedTypeName",
                                    "pathNode": {
                                      "id": 17295,
                                      "name": "WitOracleDataLib.Query",
                                      "nameLocations": [
                                        "6728:16:44",
                                        "6745:5:44"
                                      ],
                                      "nodeType": "IdentifierPath",
                                      "referencedDeclaration": 18074,
                                      "src": "6728:22:44"
                                    },
                                    "referencedDeclaration": 18074,
                                    "src": "6728:22:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                      "typeString": "struct WitOracleDataLib.Query"
                                    }
                                  },
                                  "visibility": "internal"
                                }
                              ],
                              "id": 17302,
                              "initialValue": {
                                "arguments": [
                                  {
                                    "id": 17300,
                                    "name": "_queryId",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17281,
                                    "src": "6796:8:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "expression": {
                                    "id": 17298,
                                    "name": "WitOracleDataLib",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 20110,
                                    "src": "6769:16:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_WitOracleDataLib_$20110_$",
                                      "typeString": "type(library WitOracleDataLib)"
                                    }
                                  },
                                  "id": 17299,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberLocation": "6786:9:44",
                                  "memberName": "seekQuery",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 18181,
                                  "src": "6769:26:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Query_$18074_storage_ptr_$",
                                    "typeString": "function (uint256) view returns (struct WitOracleDataLib.Query storage pointer)"
                                  }
                                },
                                "id": 17301,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "nameLocations": [],
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "6769:36:44",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                  "typeString": "struct WitOracleDataLib.Query storage pointer"
                                }
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "6728:77:44"
                            },
                            {
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint24",
                                  "typeString": "uint24"
                                },
                                "id": 17307,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "expression": {
                                    "expression": {
                                      "id": 17303,
                                      "name": "__query",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 17297,
                                      "src": "6828:7:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                        "typeString": "struct WitOracleDataLib.Query storage pointer"
                                      }
                                    },
                                    "id": 17304,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberLocation": "6836:7:44",
                                    "memberName": "request",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 18058,
                                    "src": "6828:15:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_QueryRequest_$18087_storage",
                                      "typeString": "struct WitOracleDataLib.QueryRequest storage ref"
                                    }
                                  },
                                  "id": 17305,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberLocation": "6844:11:44",
                                  "memberName": "callbackGas",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 18078,
                                  "src": "6828:27:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint24",
                                    "typeString": "uint24"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">",
                                "rightExpression": {
                                  "hexValue": "30",
                                  "id": 17306,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "6858:1:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "src": "6828:31:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": {
                                "id": 17355,
                                "nodeType": "Block",
                                "src": "7564:373:44",
                                "statements": [
                                  {
                                    "expression": {
                                      "id": 17353,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftHandSide": {
                                        "id": 17339,
                                        "name": "_expenses",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 17267,
                                        "src": "7587:9:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "Assignment",
                                      "operator": "+=",
                                      "rightHandSide": {
                                        "components": [
                                          {
                                            "commonType": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            },
                                            "id": 17351,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "arguments": [
                                                {
                                                  "id": 17342,
                                                  "name": "_evmGasPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17259,
                                                  "src": "7666:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                ],
                                                "expression": {
                                                  "id": 17340,
                                                  "name": "WitOracleBaseQueriable",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 11059,
                                                  "src": "7627:22:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                                                    "typeString": "type(contract WitOracleBaseQueriable)"
                                                  }
                                                },
                                                "id": 17341,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberLocation": "7650:15:44",
                                                "memberName": "estimateBaseFee",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 10356,
                                                "src": "7627:38:44",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                                                  "typeString": "function (uint256) view returns (uint256)"
                                                }
                                              },
                                              "id": 17343,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "nameLocations": [],
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "7627:52:44",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "+",
                                            "rightExpression": {
                                              "arguments": [
                                                {
                                                  "id": 17346,
                                                  "name": "_evmGasPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17259,
                                                  "src": "7785:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                {
                                                  "id": 17347,
                                                  "name": "_evmWitPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17261,
                                                  "src": "7799:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                {
                                                  "expression": {
                                                    "id": 17348,
                                                    "name": "__query",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 17297,
                                                    "src": "7846:7:44",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                                      "typeString": "struct WitOracleDataLib.Query storage pointer"
                                                    }
                                                  },
                                                  "id": 17349,
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "memberLocation": "7854:9:44",
                                                  "memberName": "slaParams",
                                                  "nodeType": "MemberAccess",
                                                  "referencedDeclaration": 18064,
                                                  "src": "7846:17:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_QuerySLA_$37373_storage",
                                                    "typeString": "struct Witnet.QuerySLA storage ref"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_struct$_QuerySLA_$37373_storage",
                                                    "typeString": "struct Witnet.QuerySLA storage ref"
                                                  }
                                                ],
                                                "expression": {
                                                  "id": 17344,
                                                  "name": "WitOracleBaseQueriable",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 11059,
                                                  "src": "7711:22:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                                                    "typeString": "type(contract WitOracleBaseQueriable)"
                                                  }
                                                },
                                                "id": 17345,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberLocation": "7734:16:44",
                                                "memberName": "estimateExtraFee",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 10443,
                                                "src": "7711:39:44",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_struct$_QuerySLA_$37373_memory_ptr_$returns$_t_uint256_$",
                                                  "typeString": "function (uint256,uint256,struct Witnet.QuerySLA memory) view returns (uint256)"
                                                }
                                              },
                                              "id": 17350,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "nameLocations": [],
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "7711:183:44",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "src": "7627:267:44",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "id": 17352,
                                        "isConstant": false,
                                        "isInlineArray": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "TupleExpression",
                                        "src": "7600:317:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "7587:330:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 17354,
                                    "nodeType": "ExpressionStatement",
                                    "src": "7587:330:44"
                                  }
                                ]
                              },
                              "id": 17356,
                              "nodeType": "IfStatement",
                              "src": "6824:1113:44",
                              "trueBody": {
                                "id": 17338,
                                "nodeType": "Block",
                                "src": "6861:697:44",
                                "statements": [
                                  {
                                    "expression": {
                                      "id": 17336,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftHandSide": {
                                        "id": 17308,
                                        "name": "_expenses",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 17267,
                                        "src": "6884:9:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "Assignment",
                                      "operator": "+=",
                                      "rightHandSide": {
                                        "components": [
                                          {
                                            "commonType": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            },
                                            "id": 17334,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "arguments": [
                                                {
                                                  "id": 17311,
                                                  "name": "_evmGasPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17259,
                                                  "src": "6975:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                {
                                                  "expression": {
                                                    "expression": {
                                                      "id": 17312,
                                                      "name": "__query",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 17297,
                                                      "src": "6989:7:44",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                                        "typeString": "struct WitOracleDataLib.Query storage pointer"
                                                      }
                                                    },
                                                    "id": 17313,
                                                    "isConstant": false,
                                                    "isLValue": true,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberLocation": "6997:7:44",
                                                    "memberName": "request",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 18058,
                                                    "src": "6989:15:44",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_struct$_QueryRequest_$18087_storage",
                                                      "typeString": "struct WitOracleDataLib.QueryRequest storage ref"
                                                    }
                                                  },
                                                  "id": 17314,
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "memberLocation": "7005:11:44",
                                                  "memberName": "callbackGas",
                                                  "nodeType": "MemberAccess",
                                                  "referencedDeclaration": 18078,
                                                  "src": "6989:27:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint24",
                                                    "typeString": "uint24"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_uint24",
                                                    "typeString": "uint24"
                                                  }
                                                ],
                                                "expression": {
                                                  "id": 17309,
                                                  "name": "WitOracleBaseQueriable",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 11059,
                                                  "src": "6924:22:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                                                    "typeString": "type(contract WitOracleBaseQueriable)"
                                                  }
                                                },
                                                "id": 17310,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberLocation": "6947:27:44",
                                                "memberName": "estimateBaseFeeWithCallback",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 10402,
                                                "src": "6924:50:44",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint24_$returns$_t_uint256_$",
                                                  "typeString": "function (uint256,uint24) view returns (uint256)"
                                                }
                                              },
                                              "id": 17315,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "nameLocations": [],
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "6924:93:44",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "+",
                                            "rightExpression": {
                                              "arguments": [
                                                {
                                                  "id": 17318,
                                                  "name": "_evmGasPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17259,
                                                  "src": "7123:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                {
                                                  "id": 17319,
                                                  "name": "_evmWitPrice",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 17261,
                                                  "src": "7137:12:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                {
                                                  "arguments": [
                                                    {
                                                      "arguments": [
                                                        {
                                                          "hexValue": "30",
                                                          "id": 17324,
                                                          "isConstant": false,
                                                          "isLValue": false,
                                                          "isPure": true,
                                                          "kind": "number",
                                                          "lValueRequested": false,
                                                          "nodeType": "Literal",
                                                          "src": "7264:1:44",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_rational_0_by_1",
                                                            "typeString": "int_const 0"
                                                          },
                                                          "value": "0"
                                                        }
                                                      ],
                                                      "expression": {
                                                        "argumentTypes": [
                                                          {
                                                            "typeIdentifier": "t_rational_0_by_1",
                                                            "typeString": "int_const 0"
                                                          }
                                                        ],
                                                        "id": 17323,
                                                        "isConstant": false,
                                                        "isLValue": false,
                                                        "isPure": true,
                                                        "lValueRequested": false,
                                                        "nodeType": "ElementaryTypeNameExpression",
                                                        "src": "7257:6:44",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_type$_t_uint16_$",
                                                          "typeString": "type(uint16)"
                                                        },
                                                        "typeName": {
                                                          "id": 17322,
                                                          "name": "uint16",
                                                          "nodeType": "ElementaryTypeName",
                                                          "src": "7257:6:44",
                                                          "typeDescriptions": {}
                                                        }
                                                      },
                                                      "id": 17325,
                                                      "isConstant": false,
                                                      "isLValue": false,
                                                      "isPure": true,
                                                      "kind": "typeConversion",
                                                      "lValueRequested": false,
                                                      "nameLocations": [],
                                                      "names": [],
                                                      "nodeType": "FunctionCall",
                                                      "src": "7257:9:44",
                                                      "tryCall": false,
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint16",
                                                        "typeString": "uint16"
                                                      }
                                                    },
                                                    {
                                                      "expression": {
                                                        "expression": {
                                                          "id": 17326,
                                                          "name": "__query",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 17297,
                                                          "src": "7323:7:44",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                                            "typeString": "struct WitOracleDataLib.Query storage pointer"
                                                          }
                                                        },
                                                        "id": 17327,
                                                        "isConstant": false,
                                                        "isLValue": true,
                                                        "isPure": false,
                                                        "lValueRequested": false,
                                                        "memberLocation": "7331:9:44",
                                                        "memberName": "slaParams",
                                                        "nodeType": "MemberAccess",
                                                        "referencedDeclaration": 18064,
                                                        "src": "7323:17:44",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_struct$_QuerySLA_$37373_storage",
                                                          "typeString": "struct Witnet.QuerySLA storage ref"
                                                        }
                                                      },
                                                      "id": 17328,
                                                      "isConstant": false,
                                                      "isLValue": true,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberLocation": "7341:16:44",
                                                      "memberName": "witCommitteeSize",
                                                      "nodeType": "MemberAccess",
                                                      "referencedDeclaration": 37370,
                                                      "src": "7323:34:44",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint16",
                                                        "typeString": "uint16"
                                                      }
                                                    },
                                                    {
                                                      "expression": {
                                                        "expression": {
                                                          "id": 17329,
                                                          "name": "__query",
                                                          "nodeType": "Identifier",
                                                          "overloadedDeclarations": [],
                                                          "referencedDeclaration": 17297,
                                                          "src": "7414:7:44",
                                                          "typeDescriptions": {
                                                            "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                                            "typeString": "struct WitOracleDataLib.Query storage pointer"
                                                          }
                                                        },
                                                        "id": 17330,
                                                        "isConstant": false,
                                                        "isLValue": true,
                                                        "isPure": false,
                                                        "lValueRequested": false,
                                                        "memberLocation": "7422:9:44",
                                                        "memberName": "slaParams",
                                                        "nodeType": "MemberAccess",
                                                        "referencedDeclaration": 18064,
                                                        "src": "7414:17:44",
                                                        "typeDescriptions": {
                                                          "typeIdentifier": "t_struct$_QuerySLA_$37373_storage",
                                                          "typeString": "struct Witnet.QuerySLA storage ref"
                                                        }
                                                      },
                                                      "id": 17331,
                                                      "isConstant": false,
                                                      "isLValue": true,
                                                      "isPure": false,
                                                      "lValueRequested": false,
                                                      "memberLocation": "7432:16:44",
                                                      "memberName": "witUnitaryReward",
                                                      "nodeType": "MemberAccess",
                                                      "referencedDeclaration": 37372,
                                                      "src": "7414:34:44",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_uint64",
                                                        "typeString": "uint64"
                                                      }
                                                    }
                                                  ],
                                                  "expression": {
                                                    "argumentTypes": [
                                                      {
                                                        "typeIdentifier": "t_uint16",
                                                        "typeString": "uint16"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint16",
                                                        "typeString": "uint16"
                                                      },
                                                      {
                                                        "typeIdentifier": "t_uint64",
                                                        "typeString": "uint64"
                                                      }
                                                    ],
                                                    "expression": {
                                                      "id": 17320,
                                                      "name": "Witnet",
                                                      "nodeType": "Identifier",
                                                      "overloadedDeclarations": [],
                                                      "referencedDeclaration": 40741,
                                                      "src": "7184:6:44",
                                                      "typeDescriptions": {
                                                        "typeIdentifier": "t_type$_t_contract$_Witnet_$40741_$",
                                                        "typeString": "type(library Witnet)"
                                                      }
                                                    },
                                                    "id": 17321,
                                                    "isConstant": false,
                                                    "isLValue": false,
                                                    "isPure": false,
                                                    "lValueRequested": false,
                                                    "memberLocation": "7191:8:44",
                                                    "memberName": "QuerySLA",
                                                    "nodeType": "MemberAccess",
                                                    "referencedDeclaration": 37373,
                                                    "src": "7184:15:44",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_type$_t_struct$_QuerySLA_$37373_storage_ptr_$",
                                                      "typeString": "type(struct Witnet.QuerySLA storage pointer)"
                                                    }
                                                  },
                                                  "id": 17332,
                                                  "isConstant": false,
                                                  "isLValue": false,
                                                  "isPure": false,
                                                  "kind": "structConstructorCall",
                                                  "lValueRequested": false,
                                                  "nameLocations": [
                                                    "7239:16:44",
                                                    "7305:16:44",
                                                    "7396:16:44"
                                                  ],
                                                  "names": [
                                                    "witResultMaxSize",
                                                    "witCommitteeSize",
                                                    "witUnitaryReward"
                                                  ],
                                                  "nodeType": "FunctionCall",
                                                  "src": "7184:300:44",
                                                  "tryCall": false,
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                                                    "typeString": "struct Witnet.QuerySLA memory"
                                                  }
                                                }
                                              ],
                                              "expression": {
                                                "argumentTypes": [
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  },
                                                  {
                                                    "typeIdentifier": "t_struct$_QuerySLA_$37373_memory_ptr",
                                                    "typeString": "struct Witnet.QuerySLA memory"
                                                  }
                                                ],
                                                "expression": {
                                                  "id": 17316,
                                                  "name": "WitOracleBaseQueriable",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 11059,
                                                  "src": "7049:22:44",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_type$_t_contract$_WitOracleBaseQueriable_$11059_$",
                                                    "typeString": "type(contract WitOracleBaseQueriable)"
                                                  }
                                                },
                                                "id": 17317,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberLocation": "7072:16:44",
                                                "memberName": "estimateExtraFee",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 10443,
                                                "src": "7049:39:44",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_struct$_QuerySLA_$37373_memory_ptr_$returns$_t_uint256_$",
                                                  "typeString": "function (uint256,uint256,struct Witnet.QuerySLA memory) view returns (uint256)"
                                                }
                                              },
                                              "id": 17333,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "kind": "functionCall",
                                              "lValueRequested": false,
                                              "nameLocations": [],
                                              "names": [],
                                              "nodeType": "FunctionCall",
                                              "src": "7049:466:44",
                                              "tryCall": false,
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "src": "6924:591:44",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "id": 17335,
                                        "isConstant": false,
                                        "isInlineArray": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "TupleExpression",
                                        "src": "6897:641:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "6884:654:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "id": 17337,
                                    "nodeType": "ExpressionStatement",
                                    "src": "6884:654:44"
                                  }
                                ]
                              }
                            },
                            {
                              "expression": {
                                "id": 17363,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 17357,
                                  "name": "_expenses",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17267,
                                  "src": "7955:9:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "+=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 17362,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "expression": {
                                      "expression": {
                                        "id": 17358,
                                        "name": "__query",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 17297,
                                        "src": "7968:7:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                          "typeString": "struct WitOracleDataLib.Query storage pointer"
                                        }
                                      },
                                      "id": 17359,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberLocation": "7976:9:44",
                                      "memberName": "slaParams",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 18064,
                                      "src": "7968:17:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_QuerySLA_$37373_storage",
                                        "typeString": "struct Witnet.QuerySLA storage ref"
                                      }
                                    },
                                    "id": 17360,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberLocation": "7986:16:44",
                                    "memberName": "witUnitaryReward",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 37372,
                                    "src": "7968:34:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint64",
                                      "typeString": "uint64"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "*",
                                  "rightExpression": {
                                    "id": 17361,
                                    "name": "_evmWitPrice",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 17261,
                                    "src": "8005:12:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "7968:49:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "7955:62:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 17364,
                              "nodeType": "ExpressionStatement",
                              "src": "7955:62:44"
                            },
                            {
                              "expression": {
                                "id": 17372,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 17365,
                                  "name": "_revenues",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17265,
                                  "src": "8036:9:44",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "+=",
                                "rightHandSide": {
                                  "arguments": [
                                    {
                                      "expression": {
                                        "id": 17369,
                                        "name": "__query",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 17297,
                                        "src": "8078:7:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_struct$_Query_$18074_storage_ptr",
                                          "typeString": "struct WitOracleDataLib.Query storage pointer"
                                        }
                                      },
                                      "id": 17370,
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberLocation": "8086:6:44",
                                      "memberName": "reward",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 18070,
                                      "src": "8078:14:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_userDefinedValueType$_QueryEvmReward_$37147",
                                        "typeString": "Witnet.QueryEvmReward"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_userDefinedValueType$_QueryEvmReward_$37147",
                                        "typeString": "Witnet.QueryEvmReward"
                                      }
                                    ],
                                    "expression": {
                                      "expression": {
                                        "id": 17366,
                                        "name": "Witnet",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 40741,
                                        "src": "8049:6:44",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_type$_t_contract$_Witnet_$40741_$",
                                          "typeString": "type(library Witnet)"
                                        }
                                      },
                                      "id": 17367,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "memberLocation": "8056:14:44",
                                      "memberName": "QueryEvmReward",
                                      "nodeType": "MemberAccess",
                                      "referencedDeclaration": 37147,
                                      "src": "8049:21:44",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_userDefinedValueType$_QueryEvmReward_$37147_$",
                                        "typeString": "type(Witnet.QueryEvmReward)"
                                      }
                                    },
                                    "id": 17368,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "memberLocation": "8071:6:44",
                                    "memberName": "unwrap",
                                    "nodeType": "MemberAccess",
                                    "src": "8049:28:44",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_QueryEvmReward_$37147_$returns$_t_uint72_$",
                                      "typeString": "function (Witnet.QueryEvmReward) pure returns (uint72)"
                                    }
                                  },
                                  "id": 17371,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "nameLocations": [],
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "8049:44:44",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint72",
                                    "typeString": "uint72"
                                  }
                                },
                                "src": "8036:57:44",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 17373,
                              "nodeType": "ExpressionStatement",
                              "src": "8036:57:44"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 17276,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 17273,
                      "name": "_ix",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17270,
                      "src": "6523:3:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 17274,
                        "name": "_queryIds",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17255,
                        "src": "6529:9:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                          "typeString": "uint256[] calldata"
                        }
                      },
                      "id": 17275,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberLocation": "6539:6:44",
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "6529:16:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "6523:22:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 17377,
                  "initializationExpression": {
                    "assignments": [
                      17270
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 17270,
                        "mutability": "mutable",
                        "name": "_ix",
                        "nameLocation": "6514:3:44",
                        "nodeType": "VariableDeclaration",
                        "scope": 17377,
                        "src": "6509:8:44",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 17269,
                          "name": "uint",
                          "nodeType": "ElementaryTypeName",
                          "src": "6509:4:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 17272,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 17271,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "6520:1:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "6509:12:44"
                  },
                  "isSimpleCounterLoop": true,
                  "loopExpression": {
                    "expression": {
                      "id": 17278,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "6547:6:44",
                      "subExpression": {
                        "id": 17277,
                        "name": "_ix",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17270,
                        "src": "6547:3:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 17279,
                    "nodeType": "ExpressionStatement",
                    "src": "6547:6:44"
                  },
                  "nodeType": "ForStatement",
                  "src": "6504:1616:44"
                },
                {
                  "expression": {
                    "id": 17383,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 17378,
                      "name": "_expenses",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17267,
                      "src": "8130:9:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "+=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 17381,
                          "name": "_evmMsgData",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17257,
                          "src": "8171:11:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_calldata_ptr",
                            "typeString": "bytes calldata"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes_calldata_ptr",
                            "typeString": "bytes calldata"
                          }
                        ],
                        "expression": {
                          "id": 17379,
                          "name": "__gasPriceOracleL1",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17079,
                          "src": "8143:18:44",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_OVM_GasPriceOracle_$17036",
                            "typeString": "contract OVM_GasPriceOracle"
                          }
                        },
                        "id": 17380,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "8162:8:44",
                        "memberName": "getL1Fee",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 17035,
                        "src": "8143:27:44",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_uint256_$",
                          "typeString": "function (bytes memory) view external returns (uint256)"
                        }
                      },
                      "id": 17382,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "8143:40:44",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "8130:53:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 17384,
                  "nodeType": "ExpressionStatement",
                  "src": "8130:53:44"
                }
              ]
            },
            "documentation": {
              "id": 17252,
              "nodeType": "StructuredDocumentation",
              "src": "5876:302:44",
              "text": "@notice Estimates the actual earnings (or loss), in WEI, that a reporter would get by reporting result to given query,\n @notice based on the gas price of the calling transaction. Data requesters should consider upgrading the reward on \n @notice queries providing no actual earnings."
            },
            "functionSelector": "93d5185c",
            "id": 17386,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "estimateReportEarnings",
            "nameLocation": "6193:22:44",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 17263,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "6423:8:44"
            },
            "parameters": {
              "id": 17262,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17255,
                  "mutability": "mutable",
                  "name": "_queryIds",
                  "nameLocation": "6249:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6230:28:44",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 17253,
                      "name": "uint256",
                      "nodeType": "ElementaryTypeName",
                      "src": "6230:7:44",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 17254,
                    "nodeType": "ArrayTypeName",
                    "src": "6230:9:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17257,
                  "mutability": "mutable",
                  "name": "_evmMsgData",
                  "nameLocation": "6289:11:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6274:26:44",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 17256,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "6274:5:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17259,
                  "mutability": "mutable",
                  "name": "_evmGasPrice",
                  "nameLocation": "6323:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6315:20:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17258,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6315:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17261,
                  "mutability": "mutable",
                  "name": "_evmWitPrice",
                  "nameLocation": "6359:12:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6351:20:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17260,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6351:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6215:167:44"
            },
            "returnParameters": {
              "id": 17268,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17265,
                  "mutability": "mutable",
                  "name": "_revenues",
                  "nameLocation": "6458:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6450:17:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17264,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6450:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17267,
                  "mutability": "mutable",
                  "name": "_expenses",
                  "nameLocation": "6477:9:44",
                  "nodeType": "VariableDeclaration",
                  "scope": 17386,
                  "src": "6469:17:44",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 17266,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6469:7:44",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6449:38:44"
            },
            "scope": 17387,
            "src": "6184:2007:44",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "external"
          }
        ],
        "scope": 17388,
        "src": "393:7801:44",
        "usedErrors": [
          16,
          19,
          281,
          286,
          537,
          26521
        ],
        "usedEvents": [
          24,
          292,
          26543,
          26836,
          26848,
          26856,
          26863,
          26875,
          26891,
          27055,
          27600,
          27605,
          28620,
          45638,
          45721,
          45727,
          45853
        ]
      }
    ],
    "src": "35:8161:44"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.30+commit.73712a01.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-10-15T14:34:45.590Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}